Application-specific workload-based I/O performance management

ABSTRACT

Techniques and mechanisms for establishing and implementing performance objectives for an application based at least in part on a workload type of the application. A system includes a storage system on which an application imposes a workload by utilizing storage resources of the storage system, and a performance level has been associated with the application. A workload type is associated with the application based on the type of workload, and a performance objective is determined for the application based on the performance level and the workload type of the application. The storage resources are manipulated to achieve the performance objective.

RELATED APPLICATION

This Application claims priority from Provisional Application Ser. No. 62/056,119, filed on Sep. 26, 2014 entitled “APPLICATION-SPECIFIC WORKLOAD-BASED I/O PERFORMANCE,” the content and teachings of which are hereby incorporated by reference in their entirety.

BACKGROUND

In modern computer systems, vast amounts of data may need to be accessed by hundreds, thousands or even millions of different entities, including persons and groups (e.g., organizations) or persons. Accordingly, computer systems have been developed in which data is stored on multiple physical storage devices (“PSUs”) including, but not limited to magnetic tape, disk drives, solid state storage devices (e.g., flash drives) or portions thereof. Typically, these physical storage devices are grouped together as part of one or more data storage systems (e.g., storage arrays), for example, data storage systems made available by EMC Corporation, headquartered in Hopkinton Mass. (“EMC”).

Entities typically access the data on such data storage systems via one or more host systems for which communication paths have been established over one or more communication media (e.g., as part of a network) between ports of the host systems and ports of the data storage systems. Through the host systems, data of the data storage system may be accessed and modified using I/O operations, for example, read and write operations. To this end, data storage systems may provide storage services to host systems. Host systems typically do not address the PSUs of the storage system directly, but rather, access the PSUs by addressing virtual (i.e., logical) storage units (VSUs) such as, for example, logical devices, logical volumes (LVs), thin devices and storage groups, which hide the details of actual physical storage from the host. A VSU may or may not correspond one-to-one to a PSU.

In addition to performing I/O operations, data storage systems may be managed (e.g., provisioned and configured). This is typically done via an interface with an external device (e.g., a host system or another device coupled to the storage system), for example, by utilizing application programming interfaces (APIs), command-line interfaces (CLIs) or any suitable combination of the foregoing.

In some cases, it may be desirable to manage a data storage system to provide different levels of data services for different applications that are utilizing the data storage system.

SUMMARY

This Summary provides an illustrative context for aspects of the invention, in a simplified form. It is not intended to be used to determine the scope of the claimed subject matter. Aspects of the invention are described more fully below in the Detailed Description.

In some embodiments, a system includes a storage system on which an application imposes a workload by utilizing storage resources of the storage system, and a performance level has been associated with the application. A workload type is associated with the application based on the type of workload, and a performance objective is determined for the application based on the performance level and the workload type of the application. The storage resources are manipulated to achieve the performance objective.

In some embodiments of the invention, a system is configured with logic to perform one or more of the foregoing acts. Such logic may be embodied in one or more discrete modules of the system.

In some embodiments of the invention, a computer-readable storage device is provided, encoded with computer-executable instructions that, as a result of being executed by a computer, control the computer to perform one or more of the foregoing acts.

Other advantages, novel features, and objects of the invention, and aspects and embodiments thereof, will become apparent from the following detailed description of the invention, including aspects and embodiments thereof, when considered in conjunction with the accompanying drawings, which are schematic and are not intended to be drawn to scale. In the figures, each identical or nearly identical component that is illustrated in various figures is represented by a single numeral. For purposes of clarity, not every component is labeled in every figure, nor is every component of each embodiment or aspect of the invention shown where illustration is not necessary to allow those of ordinary skill in the art to understand the invention.

BRIEF DESCRIPTION OF THE DRAWINGS

Features and advantages of the present invention will become more apparent from the following detailed description of exemplary embodiments thereof taken in conjunction with the accompanying drawings in which:

FIG. 1 is an example of an embodiment of a system that may utilize the techniques described herein;

FIG. 2 is a representation of the logical internal communications between the directors and memory included in one embodiment of a data storage system of FIG. 1;

FIG. 3 is an example representing components that may be included in a service processor in an embodiment in accordance with techniques herein;

FIGS. 4, 5A and 5B are examples illustrating a data storage system, such as data storage array, including a plurality of storage tiers in an embodiment in accordance with techniques herein;

FIG. 5C is a schematic diagram illustrating tables that are used to keep track of device information in connection with an embodiment of the system described herein;

FIG. 5D is a schematic diagram showing a group element of a thin device table in connection with an embodiment of the system described herein;

FIGS. 6 and 7 are examples illustrating a storage group, allocation policy and associated storage tiers in an embodiment in accordance with techniques herein;

FIGS. 8A and 8B are examples illustrating thin devices and associated structures that may be used in an embodiment in accordance with techniques herein;

FIG. 9 is an example illustrating data portions comprising a thin device's logical address range;

FIG. 10 is an example of performance information that may be determined in connection with thin devices in an embodiment in accordance with techniques herein;

FIG. 11 is a graphical illustration of long-term and short-term statistics described herein;

FIG. 12 is a flowchart of processing steps that may be performed in an embodiment in accordance with techniques herein; and

FIG. 13 is a flowchart illustrating an example of a method of establishing and implementing performance objectives for an application based at least in part on a workload type of the application.

DETAILED DESCRIPTION

Described herein are techniques and mechanisms for establishing and implementing performance objectives on a storage system for an application based at least in part on a workload type of the application.

A performance objective may be in relation to any of a variety of performance criteria, including, but not limited to, I/O response time, read response time, write response time, I/O path bandwidth, and I/O density, to name just a few. I/O density is, for a PSU, a measure of the I/O operations performed per unit of time per capacity of the PSU. For illustrative purposes, some of the embodiments described herein are described in relation to a performance objective for response time, but it should be appreciated that the invention can be applied to any viable performance objective for any storage performance criterion. As defined below in more detail, response time represents the amount of time it takes the data storage system to complete an I/O request. This may be considered the response time that a host “sees” or observes from a storage system.

The workload type may be based on any of variety factors, including a relative I/O size corresponding to the application and what data services are provided for the application by the storage system such as, for example, remote replication, local replication, encryption and deduplication, to name a few. For illustrative purposes, in some of the embodiments described herein, workload is described as being based on relative I/O size and/or whether replication is performed for the application, but it should be appreciated that the invention can be applied to any viable factor or combination of factors, including one or more other data services performed.

In some embodiments of the invention, a desired performance objective (e.g., range of response time) may be defined for one or more SGs within a storage system, for example, as part of a Service Level Objective (SLO). As described in more detail below, a storage group is a software abstraction that may be used to associate one or more (e.g., a group of) logical devices with one or more applications.

For example, in some embodiments of the invention, one or more performance objective levels (“POLs”) may be defined. An example of a POL is a Service Level Objective (SLO) defined on a storage system (e.g., EMC® VMAX3™ system) of EMC VMAX® family of storage systems made available by EMC. The performance objective of the POL may be any of a variety of types of performance objectives, for example, any of those describe herein. Any number and granularity (e.g., from very coarse to very fine) of POLs may be used. In some embodiments, it may be desirable to use a relatively low number of POLs to simplify the management of the storage system, e.g., for a user and/or administrator of the system.

In some embodiments, the POLs may be defined to correspond to the performance associated with one or more types of storage, for example, as illustrated in Table 1 below. While the number of POLs illustrated in Table 1 is six, any number of POLs may be used, as noted above.

In Table 1, the first five (“Diamond”-“Bronze”) POLs are listed in order of descending performance objective (i.e., highest performance objective first) that may be associated with an SG, whereas performance for a given SG under the last POL (“System Optimized”) will depend on the relative activity levels of the various data associated with the SG and other SGs. For example, Platinum POL corresponds to a performance between that of an EFD (very high) and a 15 K revolutions per minute (RPM)-drive, and the Bronze POL corresponds to a performance associated with a 7.2 K RPM disk drive.

TABLE 1 Illustrative Example of Performance Objective Levels Performance Objective Level Name Corresponding Storage Type Diamond EFD performance Platinum Between EFD and 15K RPM drive Gold 15K RPM performance Silver 10K RPM performance Bronze 7.2K RPM performance System Achieves optimal system-wide performance by placing Optimized the most active data on higher performing storage (e.g., EFD) and least active data on the most cost- effective storage (e.g., 7.2 RPM)

In some embodiments, each of one or more POLs may be associated with a specific performance objective, for example, response time range, e.g., as illustrated in Table 2 below. As illustrated in Table 2, the response time ranges may overlap, and may increase as the performance corresponding to the POL decreases. For example, for Diamond POL, the objective response time range is 0.1-6 ms; and, for bronze, 10-40 ms. Each POL may have an associated monetary cost such that a customer of a storage system may pay a certain amount for performance (e.g., response time range) corresponding to the POL. For example, Diamond may cost the most because it provides highest performance level, and Bronze the least, with the cost of the other POLs in-between in order corresponding to their POL.

TABLE 2 Illustrative Example of Performance Criteria of POLs Performance Objective Response Time Range Level Name (milliseconds) Diamond 0.1-6  Platinum 2-10 Gold 4-20 Silver 6-30 Bronze 10-40 

As described in more detail below in relation to FIGS. 6 and 7 and elsewhere, one or more storage groups may be defined for a storage system, thereby associating one or more logical devices with one or more applications. For example, a storage group may be associated with a specific application, or a specific group of applications (e.g., all engineering applications, all financial applications, all medical imaging applications, etc.). Such applications may be running on hosts utilizing the storage system, including a guest host running within a storage system appliance.

In some embodiments, an SG (associated with one or more applications) may be associated with a POL, thereby establishing a performance objective for the one or more applications associated with the SG.

The storage system may be configured to manipulate storage resources, for each storage group, to meet the performance objective corresponding to the POL associated with the storage group, e.g., using FAST-based techniques, as described below in relation to FIGS. 1-12. FAST provides a tiering algorithm that may automatically promote and demote data across storage tiers. FAST may improve efficient usage of drives, including Flash drives (e.g., an “Enterprise Flash Drive” or “EFD”) and disk drives (e.g., 15 K RPM, 10 K RPM and 7.2 K RPM), other types of drives, or any combination of the foregoing, to achieve a desired performance objective.

It may prove relatively difficult or relatively easy to meet the POL performance objective designated for an application (as defined for its associated storage group) based on the type of workload of the application; for example, whether the workload is an on-line transaction processing (OLTP) type of application or a decision support system (DSS) type of application. OLTP applications typically have smaller I/O sizes (e.g., 8 KB), which means they generally (all other factors being equal) can be processed relatively quickly by a storage system, thereby producing shorter response times. On the other hand, DSS applications typically have relatively large I/O sizes (e.g., 1 MB), which means they generally (all other factors being equal) are processed relatively slowly by a storage system, thereby producing longer response times.

Further, it may prove relatively difficult or relatively easy to meet the POL performance criteria for an application based on whether certain data services are provided for the application, for example, whether replication is configured for the application, for example, local replication (e.g., using TimeFinder® technology with a VMAX system) or remote replication (e.g., using SRDF® technology with a VMAX system). The use of replication typically (all other factors being equal) results in longer response times. Use of other data services also may result (all other factors being equal) in longer response times.

Thus, it may be desirable to refine performance objectives (e.g., response time range objectives) associated with a particular POL based on the workload type of an application, for example, the I/O size associated with the and/or whether certain data services (e.g., replication) are being used for the application. Such refinement may enable more computationally and/or monetarily efficient use of storage system resources.

In some embodiments of the invention, a number of workload types may be defined for a system. Any number and type of workload types may be used. In some embodiments, it may be desirable to use a relatively low number of POLs (e.g., five, as illustrated in Table 3) to simplify the management of the storage system, e.g., for a user and/or administrator of the system. For example, Table 3 illustrates some workload types that may be defined. The workload types are listed in order of expected typical response times, fastest to slowest, for reasons that should be clear from the above description. As noted above, other workload types may be defined. For example, finer granularity may be desired, in which case more workload types may defined, e.g., different workloads may be defined for different type of replication (e.g., local or remote) or for a subset or OLTP types, DSS types or other types of workloads.

TABLE 3 Illustrative Example of Workload Types Workload Type Name Description OLTP OLTP type of I/O operations typically having relatively small size OLTP + OLTP type of I/O operations typically having relatively Rep small size, with replication (local or remote) DSS DSS type of I/O operations typically having relatively large size DSS + DSS type of I/O operations typically having relatively Rep size, large with replication (local or remote)

In some embodiments, response time ranges may be defined for different combinations of POLs and workload types. For example, workload types may be used to further refine the response time range associated with a POL, e.g., as illustrated in Table 4. In Table 4, the last five rows represent POLs, and the second through fifth columns represent workload types, and the cell entries in the last five rows and second through fifth columns represent the response time range objective for the POL and workload type combination corresponding to the row and column, respectively. For example, for the combination of Platinum POL and OLTP+Rep Workload Type, a response time range objective of 4-6 ms is defined; and for combination of Silver POL and DSS Workload Type, and response time range objective of 10-20 ms is defined. Each cell entry in the last column for the last four rows represents the response time range for the POL of the row if no workload type is specified (from Table 2 above).

TABLE 4 Illustrative Example of Performance Objectives for POL and Workload Type Combinations OLTP OLTP + Rep DSS DSS + Rep no WL Type Diamond 0.1-2   2-4 2-4 4-6 0.1-6  Platinum 2-4 4-6 4-6  6-10 2-10 Gold 4-6  6-10  6-10 10-20 4-20 Silver  6-10 10-20 10-20 20-30 6-30 Bronze 10-20 20-30 20-30 30-40 10-40 

In some embodiments of the invention, a POL and Workload Type may be associated with an application (e.g., by a user or system administrator), for example, by associating the SG corresponding to the application with the POL and Workload Type, thereby establishing a performance objective (e.g., response time range) for the application based on the POL and Workload Type. In some embodiments, it may be optional to not specify a Workload Type for an application/SG, in which case a coarser performance objective (e.g., a broader response time range) may be associated with the application/SG (e.g., the corresponding response time range of the last column of Table 4), e.g., as described above.

One or more user interfaces (e.g., graphical user interface), APIs and/or CLIs may be provided, for example, by storage management component 28 and/or storage management component 135 described below in relation to FIGS. 1 and 3, to enable users to perform an of: define storage groups, define POLs, define workload types, associate a performance objective level with an application, associate a workload type with the applications, and/or define a performance objective for a combination of a POL and workload type.

Storage resources of the storage system may be manipulated to meet the performance objective of the POL/Workload Type combination associated with a storage group (and thus the storage group's one or more corresponding applications), e.g., using: FAST-based techniques, as described below in relation to FIGS. 1-12, caching, cache partitioning, I/O priorities, I/O host limits, CPU/Thread reconfiguration, other techniques, or any suitable combination of the foregoing.

For one or more storage groups, performance of the storage group may be monitored using any of plurality of techniques, for example, techniques described below in relation to FAST and FIG. 13. The workload type or POL may be changed based on the results of such monitoring. For example, a Diamond POL and OLTP workload type may be associated with a storage group/application, such that a response time range of 0.1 to 2 ms is the objective. Such workload type may be selected (e.g., by a system administrator or user) with the understanding that the workload type (or predominant workload type) of the corresponding application would be OLTP (e.g., a stock transaction application), and that replication would not be employed. Monitoring may reveal that the mean response time is 5 ms, and as a result it may be desirable to change the workload type (or perhaps even the POL) to better match reality. For example, it may turn out that the application is really a DSS type of application and/or that replication is being employed, in which case changing the Workload Type to DSS+Rep may be desirable.

Similarly, an application may be achieving much faster mean response times than those corresponding to the designated POL/workload type combination of the application, in which case it may make sense to change the workload type (e.g., to one with a slower response time range) and/or POL (e.g., to one with a slower response time range) to better match reality. Adjusting the workload type and/or POL associated with a storage group may result in more computationally efficient use of storage system resources. It also may save money for a customer if the customer is paying for more performance than the customer needs, e.g., for customers who deploy charge back. Moreover, adjusting the workload type and/or POL associated with an application may set more realistic customer expectations.

A more detailed description of examples of systems and techniques (e.g. FAST) that may be employed to implement aspects of the invention will now be described.

EXAMPLES

Referring to FIG. 1, shown is an example of an embodiment of a system that may be used in connection with performing the techniques described herein. The system 10 includes a data storage system 12 connected to host systems 14 a-14 n through one or more communication media 18. In this embodiment of the computer system 10, the n hosts 14 a-14 n may access the data storage system 12, for example, in performing input/output (I/O) operations or data requests. The one or more communication media 18 may include any of one or more of a variety of networks or other type of communication connections as known to those skilled in the art. The one or more communication media 18 may include any of: a network connection, bus, and/or other type of data link, such as a hard wire or other connections known in the art. For example, the one or more communication media 18 may include any of: the Internet, an intranet, a network (including a Storage Area Network (SAN)) or other wireless or other hardwired connection(s) by which the host systems 14 a-14 n may access and communicate with the data storage system 12, and may also communicate with other components included in the system 10.

Each of the host systems 14 a-14 n and the data storage system 12 included in the system 10 may be connected to the one or more communication media 18 by any one of a variety of connections as may be provided and supported in accordance with the type of one or more communication media 18. The processors included in the host computer systems 14 a-14 n may be any one of a variety of proprietary or commercially available single or multi-processor system, such as an Intel-based processor, or other type of commercially available processor able to support traffic in accordance with each particular embodiment and application.

It should be noted that the particular examples of the hardware and software that may be included in the data storage system 12 are described herein in more detail, and may vary with each particular embodiment. Each of the host systems 14 a-14 n and data storage system 12 may all be located at the same physical site, or, alternatively, may also be located in different physical locations. The one or more communication media that may be used to provide the different types of connections between the host computer systems and the data storage system of the system 10 may use a variety of different communication protocols such as SCSI, Fibre Channel, iSCSI, and the like. Some or all of the connections by which the hosts and data storage system may be connected to the one or more communication media may pass through other communication devices, such as, for example, switching equipment including, but not limited to, a phone line, a repeater, a multiplexer or even a satellite. For example, while not shown in FIG. 1, system 10 may include a switch connected between host system 14 and data storage system 12 such, for example, a Connectrix® switch made available from EMC.

Each of the host computer systems may perform different types of data operations in accordance with different types of tasks. In the embodiment of FIG. 1, any one of the host systems 14 a-14 n may issue a data request to the data storage system 12 to perform a data operation. For example, an application executing on one of the host systems 14 a-14 n may perform a read or write operation resulting in one or more data requests to the data storage system 12.

It should be noted that although element 12 is illustrated as a single data storage system, such as a single data storage array, element 12 may also represent, for example, multiple data storage arrays alone, or in combination with, other physical storage devices, systems, appliances, and/or components having suitable connectivity, such as in a SAN, in an embodiment using the techniques herein. It should also be noted that an embodiment may include data storage arrays or other components from one or more vendors. In subsequent examples illustrating the techniques herein, reference may be made to a single data storage array by a vendor, such as by EMC Corporation of Hopkinton, Mass. However, as will be appreciated by those skilled in the art, the techniques herein are applicable for use with other data storage arrays by other vendors and with components other than those described herein for purposes of example.

The data storage system 12 may be a data storage array including a plurality of PSUs 16 a-16 n. The PSUs 16 a-16 n may include one or more types of PSUs such as, for example, one or more disk drives and/or one or more solid state drives (SSDs). An SSD is a PSU that uses solid-state memory to store persistent data. An SSD using SRAM or DRAM, rather than flash memory, may also be referred to as a RAM drive. SSD may refer to solid state electronics devices as distinguished from electromechanical devices, such as hard drives, having moving parts. Flash devices or flash memory-based SSDs are one type of SSD that contains no moving parts. As described in more detail in following paragraphs, the techniques herein may be used in an embodiment in which one or more of the devices 16 a-16 n is a flash drive. More generally, the techniques herein may also be used with any type of SSD although the following paragraphs may make reference to a particular type such as a flash device or flash memory device.

The data storage array may also include different types of adapters or directors, such as an HA 21 (host adapter), RA 40 (remote adapter), and/or device interface 23. The term “HA” is used herein interchangeably with the term “FA,” and the term “device interface” is used herein interchangeably with the term “BE.” Each of the adapters may be implemented using hardware including a processor with local memory with code stored thereon for execution in connection with performing different operations. The HAs may be used to manage communications and data operations between one or more host systems and the global memory (GM). In an embodiment, the HA may be a Fibre Channel Adapter or other adapter which facilitates host communication. The HA 21 may be characterized as a front-end component of the data storage system which receives a request from the host. The data storage array may include one or more RAs that may be used, for example, to facilitate communications between data storage arrays. The data storage array may also include one or more device interfaces 23 for facilitating data transfers to/from the PSUs 16 a-16 n. The data storage interfaces 23 may include device interface modules, for example, one or more disk adapters (DAs) (e.g., disk controllers), adapters used to interface with the flash drives, e.g., flash device interfaces and the like. The DAs and flash device interfaces also may be characterized as back-end components of the data storage system which interface with the PSUs.

One or more internal logical communication paths may exist between the device interfaces 23, the RAs 40, the HAs 21, and the memory 26. An embodiment, for example, may use one or more internal busses and/or communication modules. For example, the global memory portion 25 b may be used to facilitate data transfers and other communications between the device interfaces, HAs and/or RAs in a data storage array. In one embodiment, the device interfaces 23 may perform data operations using a cache that may be included in the global memory 25 b, for example, when communicating with other device interfaces and other components of the data storage array. The other portion 25 a is that portion of memory that may be used in connection with other designations that may vary in accordance with each embodiment.

The particular data storage system as described in this embodiment, or a particular device thereof, such as a disk or particular aspects of a flash device, should not be construed as a limitation. Other types of commercially available data storage systems, as well as processors and hardware controlling access to these particular devices, may also be included in an embodiment.

Host systems provide data and access control information through channels to the data storage systems, and the data storage systems also may provide data to the host systems through the channels. The host systems do not address the drives or devices 16 a-16 n of the data storage systems directly, but rather access to data may be provided to one or more host systems from what the host systems view as a plurality of logical devices or logical volumes (LVs). The LVs may or may not correspond to the actual PSUPSUs or drives 16 a-16 n. For example, one or more LVs may reside on a single PSUPSU or multiple PSUPSUs. Data in a single data storage system, such as a single data storage array, may be accessed by multiple hosts allowing the hosts to share the data residing therein. The HAs may be used in connection with communications between a data storage array and a host system. The RAs may be used in facilitating communications between two data storage arrays. The DAs may be one type of device interface used in connection with facilitating data transfers to/from the associated disk drive(s) and LV(s) residing thereon. A flash device interface may be another type of device interface used in connection with facilitating data transfers to/from the associated flash devices and LV(s) residing thereon. It should be noted that an embodiment may use the same or a different device interface for one or more different types of devices than as described herein.

The device interface, such as a DA, performs I/O operations on a drive 16 a-16 n. In the following description, data residing on an LV may be accessed by the device interface following a data request in connection with I/O operations that other directors originate. Data may be accessed by LV in which a single device interface manages data requests in connection with the different one or more LVs that may reside on a drive 16 a-16 n. For example, a device interface may be a DA that accomplishes the foregoing by creating job records for the different LVs associated with a particular device. These different job records may be associated with the different LVs in a data structure stored and managed by each device interface.

Also shown in FIG. 1 is a service processor 22 a that may be used to provide data (e.g., I/O) services and/or storage management services for system 12. In one embodiment, the service processor 22 a may be used in collecting performance data, for example, regarding the I/O performance in connection with data storage system 12. This performance data may relate to, for example, performance measurements in connection with a data request as may be made from the different host computer systems 14 a 14 n. This performance data may be gathered and stored in a storage area. Additional detail regarding the service processor 22 a is described in following paragraphs.

It should be noted that a service processor 22 a may exist external to the data storage system 12 and may communicate with the data storage system 12 using any one of a variety of communication connections. In one embodiment, the service processor 22 a may communicate with the data storage system 12 through three different connections, a serial port, a parallel port and using a network interface card, for example, with an Ethernet connection. Using the Ethernet connection, for example, a service processor may communicate directly with DAs and HAs within the data storage system 12.

In some embodiments, as an alternative to, or in addition to, service provider 22 a, storage system 12 may include a data services component 24 and/or a storage management component 28. Storage management component 28 may provide any of a variety or storage management services, for example, one or more storage management tools and applications, including one or more user interfaces, APIs, CLIs or any suitable combination of the foregoing. For example, in some embodiments of the invention, storage system 12 may be, be included within, or include a VMAX3 system made available from EMC, and storage management component 28 may be, be included within, or include a Management Module and Control Station (MMCS) made available as part of a VMAX3 system. Storage management component 28 may be used to configure one or more data service parameters of other components of storage system 12 including, but not limited to, HA 21, RA 40, device interfaces 23 and data services component 24, for example, to implement one of more aspects of the invention described herein.

Data services component 24 may provide any of a variety of data services, for example, any of those described herein in relation to service processor 22 a, including, but limited to FAST services and/or other data services described in relation to performance data monitoring software 134 and optimizer 138. For example, in embodiments of the invention in which storage system 12 is, is included within, or includes a VMAX3 system, data services storage management component 28 may be, be included within, or include one or more Enginuity™ Data Services modules (EDSs) made available as part of a VMAX3 system (such modules also are referred to sometimes as “emulations”). It should be appreciated that one or more other elements (e.g., one or more device interfaces 23, HAs 21 and/or RAs 40 data services) may be configured to implement one or more data services, or portions thereof, described herein as being performed by data services component 24.

In some embodiments, to enable one or more data services and/or storage management functions to be executed internally within storage system 12, storage system 12 may include an embedded storage hypervisor (not shown), which enables these data services and management functions to be run on their own threads, so as to not interfere with other (e.g., core or traditional) storage activities running within the storage system 12. For example, in embodiments of the invention in which storage system 12 is, is included within, or includes a VMAX3 system, a HyperMax hypervisor may be provided.

Referring to FIG. 2, shown is a representation of the logical internal communications between the directors and memory included in a data storage system. Included in FIG. 2 is a plurality of directors 37 a-37 n coupled to the memory 26. Each of the directors 37 a-37 n represents one of the HAs, RAs, or device interfaces that may be included in a data storage system. In an embodiment disclosed herein, there may be up to sixteen directors coupled to the memory 26. Other embodiments may allow a maximum number of directors other than sixteen as just described and the maximum number may vary with each embodiment.

The representation of FIG. 2 also includes an optional communication module (CM) 38 that provides an alternative communication path between the directors 37 a-37 n. Each of the directors 37 a-37 n may be coupled to the CM 38 so that any one of the directors 37 a-37 n may send a message and/or data to any other one of the directors 37 a-37 n without needing to go through the memory 26. The CM 38 may be implemented using conventional MUX/router technology where a sending one of the directors 37 a-37 n provides an appropriate address to cause a message and/or data to be received by an intended receiving one of the directors 37 a-37 n. In addition, a sending one of the directors 37 a-37 n may be able to broadcast a message to all of the other directors 37 a-37 n at the same time.

With reference back to FIG. 1, components of the data storage system may communicate using GM 25 b. For example, in connection with a write operation, an embodiment may first store the data in cache included in a portion of GM 25 b, mark the cache slot including the write operation data as write pending (WP), and then later de-stage the WP data from cache to one of the devices 16 a-16 n. In connection with returning data to a host from one of the devices as part of a read operation, the data may be copied from the device by the appropriate device interface, such as a DA servicing the device. The device interface may copy the data read into a cache slot included in GM which is, in turn, communicated to the appropriate HA in communication with the host.

As described above, the data storage system 12 may be a data storage array including a plurality of PSUPSUs 16 a-16 n in which one or more of the devices 16 a-16 n is a flash memory device employing one or more different flash memory technologies. In one embodiment, the data storage system 12 may be a Symmetrix® DMX™ or VMAX® data storage array by EMC Corporation of Hopkinton, Mass. In the foregoing data storage array, the PSUs 16 a-16 n may include a combination of disk devices and flash devices in which the flash devices may appear as disk drives to the various software tools used in connection with the data storage array. The flash devices may be constructed using nonvolatile semiconductor NAND flash memory. The flash devices may include one or more SLC (single level cell) devices and/or MLC (multi-level cell) devices.

It should be noted that the techniques herein may be used in connection with flash devices comprising what may be characterized as enterprise-grade or enterprise-class flash drives (EFDs) with an expected lifetime (e.g., as measured in an amount of actual elapsed time such as a number of years, months, and/or days) based on a number of guaranteed write cycles, or program cycles, and a rate or frequency at which the writes are performed. Thus, a flash device may be expected to have a usage measured in calendar or wall clock elapsed time based on the amount of time it takes to perform the number of guaranteed write cycles. The techniques herein may also be used with other flash devices, more generally referred to as non-enterprise class flash devices, which, when performing writes at a same rate as for enterprise class drives, may have a lower expected lifetime based on a lower number of guaranteed write cycles.

The techniques herein may be generally used in connection with any type of flash device, or more generally, any SSD technology. The flash device may be, for example, a flash device which is a NAND gate flash device, NOR gate flash device, flash device that uses SLC or MLC technology, and the like, as known in the art. In one embodiment, the one or more flash devices may include MLC flash memory devices although an embodiment may utilize MLC, alone or in combination with, other types of flash memory devices or other suitable memory and data storage technologies. More generally, the techniques herein may be used in connection with other SSD technologies although particular flash memory technologies may be described herein for purposes of illustration.

An embodiment in accordance with techniques herein may have one or more defined storage tiers. Each tier may generally include PSUs or drives having one or more attributes associated with a definition for that tier. For example, one embodiment may provide a tier definition based on a set of one or more attributes. The attributes may include any one or more of a storage type or storage technology, a type of data protection, device performance characteristic(s), storage capacity, and the like. The storage type or technology may specify whether a PSU is an SSD drive (such as a flash drive), a particular type of SSD drive (such using flash or a form of RAM), a type of magnetic disk or other non-SSD drive, a rotational speed of the drive (e.g., 7.2 K RPM, 10 K RPM, 15 K RPM), and/or the interface type of the drive (e.g., Fibre Channel (FC), SATA (Serial Advanced Technology Attachment) or SAS (Serial-attached SCSI)), and the like. Data protection may specify a type or level of data storage protection such, for example, as a particular RAID level (e.g., RAID1, RAID-5 3+1, RAIDS 7+1, and the like). Performance characteristics may relate to different performance aspects of the PSUs of a particular type or technology, for example, rotational speed of a disk drive (e.g., 7.2 K, 10 K or 15 K). Storage capacity may specify the amount of data (e.g., in bytes) that may be stored on the drives. An embodiment may allow a user to define one or more such storage tiers. For example, an embodiment in accordance with techniques herein may define two storage tiers including a first tier of all SSD drives and a second tier of all non-SSD drives. As another example, an embodiment in accordance with techniques herein may define three storage tiers including a first tier of all SSD drives which are flash drives, a second tier of all disk drives of a relatively high rotational speed or range of speed (e.g., 10 K, 15 K, 10-15 K or greater than 7.2 K), and a third tier of all disk drives having a relatively low rotational speed or range of speed (e.g., 7.2 K, less than 10 K, or 7.2 K or less). A disk drive having a relatively high rotational speed (e.g., 10 K or 15 K) may be referred to herein as a “high-speed disk drive” and a disk drive having a relative low rotational speed (e.g., 7.2 K RPM) may be referred to herein as a “low-speed disk drive.” The foregoing are some examples of tier definitions and other tier definitions may be specified in accordance with techniques herein.

Referring to FIG. 3, shown is an example 100 of software that may be included in a service processor such as 22 a. It should be noted that the service processor may include any one of a variety of commercially available processors, such as an Intel-based processor, and the like. Although what is described herein shows details of software that may reside in the service processor 22 a, all or portions of the illustrated components may also reside elsewhere such as, for example, on any of the host systems 14 a-14 n. For example, all or portions of optimizer 138 and/or performance data monitoring software 134 may be implemented as part of data services component 24, and all or portions of storage management component 135 may be implemented as part of storage management component 28 of storage system 12. Service processor 22 a may include a storage management component 135 that enables performance of one or more storage management functions, such as, for example, provisioning storage. Service management component may include one or more user interfaces, APIs and CLIs that enable such management, and may utilize performance data 136 to help do so. It should be appreciated that, although storage management component 135, performance data monitoring software 134 and optimizer 133 are illustrated as discrete components in FIG. 3., the invention is not so limited, as any of various combinations of the three elements is possible.

Included in the service processor 22 a is performance data monitoring software 134 which gathers performance data about the data storage system 12 through the connection 132. The performance data monitoring software 134 gathers and stores performance data and forwards this to the optimizer 138 which further stores the data in the performance data file 136. This performance data 136 may also serve as an input to the optimizer 138 which attempts to enhance the performance of I/O operations, such as those I/O operations associated with PSUs 16 a-16 n of the system 12. The optimizer 138 may take into consideration various types of parameters and performance data 136 in an attempt to optimize particular metrics associated with performance of the data storage system 12. The performance data 136 may be used by the optimizer to determine metrics described and used in connection with techniques herein. The optimizer may access the performance data, for example, collected for a plurality of LVs when performing a data storage optimization. The performance data 136 may be used in determining a workload for one or more PSUs and/or VSUs, including logical devices or volumes (LVs) serving as data devices, thin devices (described in more detail elsewhere herein) or other virtually provisioned devices, portions of thin devices, and the like. The workload may also be a measurement or level of “how busy” a device is, for example, in terms of I/O operations (e.g., I/O throughput such as number of I/Os/second, response time (RT), and the like).

The response time for a storage device or volume may be based on a response time associated with the storage device or volume for a period of time. The response time may be based on read and write operations directed to the storage device or volume. Response time represents the amount of time it takes the data storage system to complete an I/O request (e.g., a read or write request). Response time may be characterized as including two components: service time and wait time. Service time is the actual amount of time spent servicing or completing an I/O request after receiving the request from a host via an HA 21, or after the data storage system 12 generates the I/O request internally. The wait time is the amount of time the I/O request spends waiting in line or queue waiting for service (e.g., prior to executing the I/O operation).

It should be noted that the operations of read and write with respect to an LV, thin device, and the like, may be viewed as read and write requests or commands from the DA 23, controller or other backend physical device interface. Thus, these operations may also be characterized as a number of operations with respect to the PSU (e.g., number of physical device reads, writes, and the like, based on physical device accesses). This is in contrast to observing or counting a number of particular types of I/O requests (e.g., reads or writes) as issued from the host and received by a front-end component such as an HA 21. To illustrate, a host read request may not result in a read request or command issued to the DA if there is a cache hit and the requested data is in cache. The host read request results in a read request or command issued to the DA 23 to retrieve data from the physical drive only if there is a read miss. Furthermore, when writing data of a received host I/O request to the physical device, the host write request may result in multiple reads and/or writes by the DA 23 in addition to writing out the host or user data of the request. For example, if the data storage system implements a RAID data protection technique, such as RAID-5, additional reads and writes may be performed such as in connection with writing out additional parity information for the user data. Thus, observed data gathered to determine workload, such as observed numbers of reads and writes, may refer to the read and write requests or commands performed by the DA. Such read and write commands may correspond, respectively, to physical device accesses such as disk reads and writes that may result from a host I/O request received by an HA 21.

The optimizer 138 may perform processing of the techniques herein set forth in following paragraphs to determine how to allocate or partition physical storage in a multi-tiered environment for use by multiple applications. The optimizer 138 may also perform other processing such as, for example, to determine what particular portions of thin devices to store on PSUs of a particular tier, evaluate when to migrate or move data between PSUs of different tiers, and the like. It should be noted that the optimizer 138 may generally represent one or more components that perform processing as described herein as well as one or more other optimizations and other processing that may be performed in an embodiment.

Described in the following paragraphs are techniques that may be performed to determine promotion and demotion thresholds (described below in more detail) used in determining what data portions of thin devices to store on PSUs of a particular tier in a multi-tiered storage environment. Such data portions of a thin device may be automatically placed in a storage tier where the techniques herein have determined the storage tier is best to service that data in order to improve data storage system performance. The data portions may also be automatically relocated or migrated to a different storage tier as the workload and observed performance characteristics for the data portions change over time. In accordance with techniques herein, analysis of performance data for data portions of thin devices may be performed in order to determine whether particular data portions should have their data contents stored on PSUs located in a particular storage tier. The techniques herein may take into account how “busy” the data portions are in combination with defined capacity limits and defined performance limits (e.g., such as I/O throughput or I/Os per unit of time, response time, utilization, and the like) associated with a storage tier in order to evaluate which data to store on drives of the storage tier. The foregoing defined capacity limits and performance limits may be used as criteria to determine promotion and demotion thresholds based on projected or modeled I/O workload of a storage tier. Different sets of performance limits, also referred to as comfort performance zones or performance zones, may be evaluated in combination with capacity limits based on one or more overall performance metrics (e.g., average response time across all storage tiers for one or more storage groups) in order to select the promotion and demotion thresholds for the storage tiers.

Promotion may refer to movement of data from a first storage tier to a second storage tier where the second storage tier is characterized as having devices of higher performance than devices of the first storage tier. Demotion may refer generally to movement of data from a first storage tier to a second storage tier where the first storage tier is characterized as having devices of higher performance than devices of the second storage tier. As such, movement of data from a first tier of flash devices to a second tier of high-speed disk devices and/or low-speed disk devices may be characterized as a demotion and movement of data from the foregoing second tier to the first tier a promotion. The promotion and demotion thresholds refer to thresholds used in connection with data movement.

As described in following paragraphs, one embodiment may use an allocation policy specifying an upper limit or maximum threshold of storage capacity for each of one or more tiers for use with an application. The partitioning of physical storage of the different storage tiers among the applications may be initially performed using techniques herein in accordance with the foregoing thresholds of the application's allocation policy and other criteria. In accordance with techniques herein, an embodiment may determine amounts of the different storage tiers used to store an application's data, and thus the application's storage group, subject to the allocation policy and other criteria. Such criteria may also include one or more performance metrics indicating a workload of the application. For example, an embodiment may determine one or more performance metrics using collected or observed performance data for a plurality of different logical devices, and/or portions thereof, used by the application. Thus, the partitioning of the different storage tiers among multiple applications may also take into account the workload or how “busy” an application is. Such criteria may also include capacity limits specifying how much of each particular storage tier may be used to store data for the application's logical devices. As described in various embodiments herein, the criteria may include one or more performance metrics in combination with capacity limits, performance metrics alone without capacity limits, or capacity limits alone without performance metrics. Of course, as will be appreciated by those of ordinary skill in the art, such criteria may include any of the foregoing in combination with other suitable criteria.

As an example, the techniques herein may be described with reference to a storage environment having three storage tiers—a first tier of only flash drives in the data storage system, a second tier of only high-speed disk drives, and a third tier of only low-speed disk drives. In terms of performance, the foregoing three tiers may be ranked from highest to lowest as follows: first, second, and then third. The lower the tier ranking, the lower the tier's performance characteristics (e.g., longer latency times, capable of less I/O throughput/second/GB (or other storage unit), and the like). Generally, different types of PSUs have different types of characteristics. There are different reasons why one may want to use one storage tier and type of drive over another depending on criteria, goals and the current performance characteristics exhibited in connection with performing I/O operations. For example, flash drives of the first tier may be a best choice or candidate for storing data which may be characterized as I/O intensive or “busy” thereby experiencing a high rate of I/Os to frequently access the PSU containing the LV's data. However, flash drives tend to be expensive in terms of storage capacity. Low-speed disk drives may be a best choice or candidate for storing data of devices requiring a large storage capacity and which are not I/O intensive with respect to access and retrieval from the PSU. The second tier of high-speed disk drives may be characterized as “in between” flash drives and low-speed disk drives in terms of cost/GB and I/O performance. Thus, in terms of relative performance characteristics, flash drives may be characterized as having higher performance than both high-speed and low-speed disks, and high-speed disks may be characterized as having a higher performance than low-speed disks.

Since flash drives of the first tier are the best suited for high throughput/sec/GB, processing may be performed to determine which of the devices, and portions thereof, are characterized as most I/O intensive and therefore may be good candidates to have their data stored on flash drives. Similarly, the second most I/O intensive devices, and portions thereof, may be good candidates to store on high-speed disk drives of the second tier and the least I/O intensive devices may be good candidates to store on low-speed drives of the third tier. As such, workload for an application may be determined using some measure of I/O intensity, performance or activity (e.g., I/O throughput/second, percentage of read operation, percentage of write operations, response time, etc.) of each device used for the application's data. Some measure of workload may be used as a factor or criterion in combination with others described herein for determining what data portions are located on the PSUs of each of the different storage tiers.

FIG. 4 is a schematic illustration showing a data storage system 150 that may be used in connection with an embodiment of the system described herein. The data storage system 150 may include a storage array 124 having multiple directors 130-132 and multiple storage volumes (LVs, logical devices or VOLUMES 0-3) 110-113. Host applications 140-144 and/or other entities (e.g., other storage devices, SAN switches, etc.) request data writes and data reads to and from the storage array 124 that are facilitated using one or more of the directors 130-132. The storage array 124 may include similar features as that discussed above.

The volumes 110-113 may be provided in multiple storage tiers (TIERS 0-3) that may have different storage characteristics, such as speed, cost, reliability, availability, security and/or other characteristics. As described above, a tier may represent a set of storage resources, such as PSUs, residing in a storage platform. Examples of storage disks that may be used as storage resources within a storage array of a tier may include sets of low-speed disks, high-speed disks and/or EFDs, among other known types of storage devices.

According to various embodiments, each of the volumes 110-113 may be located in different storage tiers. Tiered storage provides that data may be initially allocated to a particular fast volume/tier, but a portion of the data that has not been used over a period of time (for example, three weeks) may be automatically moved to a slower (and perhaps less expensive) tier. For example, data that is expected to be used frequently, for example database indices, may be initially written directly to fast storage whereas data that is not expected to be accessed frequently, for example backup or archived data, may be initially written to slower storage. In an embodiment, the system described herein may be used in connection with a Fully Automated Storage Tiering (FAST) product produced by EMC Corporation of Hopkinton, Mass., that provides for the optimization of the use of different storage tiers including the ability to easily create and apply tiering policies (e.g., allocation policies, data movement policies including promotion and demotion thresholds, and the like) to transparently automate the control, placement, and movement of data within a data storage system based on business needs. The techniques herein may be used to determine amounts or allocations of each storage tier used by each application based on capacity limits in combination with performance limits.

Referring to FIG. 5A, shown is a schematic diagram of the storage array 124 as including a plurality of data devices 61-67 communicating with directors 131-133. The data devices 61-67 may be implemented as logical devices like standard logical devices (also referred to as thick devices) provided in a Symmetrix® storage system produced by EMC Corporation of Hopkinton, Mass., for example. In some embodiments, the data devices 61-67 may not be directly useable (visible) to hosts coupled to the storage array 124. Each of the data devices 61-67 may correspond to a portion (including a whole portion) of one or more of the disk drives 42-44 (or more generally PSUs). Thus, for example, the data device section 61 may correspond to the disk drive 42, may correspond to a portion of the disk drive 42, or may correspond to a portion of the disk drive 42 and a portion of the disk drive 43. The data devices 61-67 may be designated as corresponding to different classes, so that different ones of the data devices 61-67 correspond to different physical storage having different relative access speeds or RAID protection type (or some other relevant distinguishing characteristic or combination of characteristics), as further discussed elsewhere herein. Alternatively, in other embodiments that may be used in connection with the system described herein, instead of being separate devices, the data devices 61-67 may be sections of one data device.

As shown in FIG. 5B, the storage array 124 may also include a plurality of thin devices 71-74 that may be adapted for use in connection with the system described herein when using thin provisioning. In a system using thin provisioning, the thin devices 71-74 may appear to a host coupled to the storage array 124 as one or more logical volumes (logical devices) containing contiguous blocks of data storage. Each of the thin devices 71-74 may contain pointers to some or all of the data devices 61-67 (or portions thereof). As described in more detail elsewhere herein, a thin device may be virtually provisioned in terms of its allocated physical storage in physical storage. That is, a thin device presented to a host as having a particular capacity may be allocated physical storage as needed, rather than allocated physical storage according to the entire thin device capacity defined upon creation of the thin device. As such, a thin device presented to the host as having a capacity with a corresponding LBA (logical block address) range may have portions of the LBA range for which storage is not allocated.

Referring to FIG. 5C, shown is a diagram 150 illustrating tables that are used to keep track of device information. A first table 152 corresponds to all of the devices used by a data storage system or by an element of a data storage system, such as an HA 21 and/or a DA 23. The table 152 includes a plurality of logical device (logical volume) entries 156-158 that correspond to all the logical devices used by the data storage system (or portion of the data storage system). The entries in the table 152 may include information for thin devices, for data devices (such as logical devices or volumes), for standard logical devices, for virtual devices, for BCV devices, and/or any or all other types of logical devices used in connection with the system described herein.

Each of the entries 156-158 of the table 152 correspond to another table that may contain information for one or more logical volumes, such as thin device logical volumes. For example, the entry 157 may correspond to a thin device table 162. The thin device table 162 may include a header 164 that contains overhead information, such as information identifying the corresponding thin device, information concerning the last used data device and/or other information including counter information, such as a counter that keeps track of used group entries (described below). The header information, or portions thereof, may be available globally to the data storage system.

The thin device table 162 may include one or more group elements 166-168, that contain information corresponding to a group of tracks on the data device. A group of tracks may include one or more tracks, the number of which may be configured as appropriate. In an embodiment herein, each group has sixteen tracks, although this number may be configurable.

One of the group elements 166-168 (for example, the group element 166) of the thin device table 162 may identify a particular one of the data devices 61-67 having a track table 172 that contains further information, such as a header 174 having overhead information and a plurality of entries 176-178 corresponding to each of the tracks of the particular one of the data devices 61-67. The information in each of the entries 176-178 may include a pointer (either direct or indirect) to the physical address on one of the physical disk drives of the data storage system that maps to the logical address(es) of the particular one of the data devices 61-67. Thus, the track table 162 may be used in connection with mapping logical addresses of the logical devices corresponding to the tables 152, 162, 172 to physical addresses on the disk drives or other PSUs of the data storage system.

The tables 152, 162, 172 may be stored in the global memory 25 b of the data storage system. In addition, the tables corresponding to particular logical devices accessed by a particular host may be stored (cached) in local memory of the corresponding one of the HA's. In addition, an RA and/or the DA's may also use and locally store (cache) portions of the tables 152, 162, 172.

Referring to FIG. 5D, shown is a schematic diagram illustrating a group element 166 of the thin device table 162 in connection with an embodiment of the system described herein. The group element 166 may include a plurality of entries 166 a-166 f. The entry 166 a may provide group information, such as a group type that indicates whether there has been physical address space allocated for the group. The entry 166 b may include information identifying one (or more) of the data devices 61-67 that correspond to the group (i.e., the one of the data devices 61-67 that contains pointers for physical data for the group). The entry 166 c may include other identifying information for the one of the data devices 61-67, including a speed indicator that identifies, for example, if the data device is associated with a relatively fast access physical storage (e.g., SSD) or a relatively slow access physical storage (e.g., 7.2 K RPM drive). Other types of designations of data devices are possible (e.g., relatively expensive or inexpensive). The entry 166 d may be a pointer to a head of the first allocated track for the one of the data devices 61-67 indicated by the data device ID entry 166 b. Alternatively, the entry 166 d may point to header information of the data device track table 172 immediately prior to the first allocated track. The entry 166 e may identify a cylinder of a first allocated track for the one the data devices 61-67 indicated by the data device ID entry 166 b. The entry 166 f may contain other information corresponding to the group element 166 and/or the corresponding thin device. In other embodiments, entries of the group table 166 may identify a range of cylinders of the thin device and a corresponding mapping to map cylinder/track identifiers for the thin device to tracks/cylinders of a corresponding data device. In an embodiment, the size of table element 166 may be eight bytes.

Accordingly, a thin device presents a logical storage space to one or more applications running on a host where different portions of the logical storage space may or may not have corresponding physical storage space associated therewith. However, the thin device is not mapped directly to physical storage space. Instead, portions of the thin storage device for which physical storage space exists are mapped to data devices, which are logical devices that map logical storage space of the data device to physical storage space on the disk drives or other PSUs. Thus, an access of the logical storage space of the thin device results in either a null pointer (or equivalent) indicating that no corresponding physical storage space has yet been allocated, or results in a reference to a data device which in turn references the underlying physical storage space.

Thin devices and thin provisioning are described in more detail in U.S. patent application Ser. No. 11/726,831, filed Mar. 23, 2007 (U.S. Patent App. Pub. No. 2009/0070541 A1), “Automated Information Life-Cycle Management With Thin Provisioning,” Yochai, and U.S. Pat. No. 7,949,637, Issued May 24, 2011, “Storage Management for Fine Grained Tiered Storage with Thin Provisioning”, to Burke, both of which are incorporated by reference herein. As discussed elsewhere herein, the data devices 61-67 (and other logical devices) may be associated with physical storage areas (e.g., disk drives, tapes, solid state storage, etc.) having different characteristics. In various embodiments, the physical storage areas may include multiple tiers of storage in which each sub-tier of physical storage areas and/or disk drives may be ordered according to different characteristics and/or classes, such as speed, technology and/or cost. The devices 61-67 may appear to a host coupled to the storage array 124 as a logical volume (logical device) containing a contiguous block of data storage, as discussed herein. Accordingly, each of the devices 61-67 may map to storage areas across multiple PSUs. The granularity at which a data storage system described herein operates may be smaller than at the file level, for example potentially as small as a single byte, but more practically at the granularity of a single logical block or collection of sequential data blocks. A data block may be of any size including file system or database logical block size, physical block, track or cylinder and/or other size. Multiple data blocks may be substantially the same size or different sizes, such as different size data blocks for different storage volumes or different sized data blocks within a single storage volume.

In accordance with techniques herein, an embodiment may allow for locating all of the data of a single logical portion or entity in a same tier or in multiple different tiers depending on the logical data portion or entity. In an embodiment including thin devices, the techniques herein may be used where different portions of data of a single thin device may be located in different storage tiers. For example, a thin device may include two data portions and a first of these two data portions may be identified as a “hot spot” of high I/O activity (e.g., having a large number of I/O accesses such as reads and/or writes per unit of time) relative to the second of these two portions. As such, an embodiment in accordance with techniques herein may have added flexibility in that the first portion of data of the thin device may be located in a different higher performance storage tier than the second portion. For example, the first portion may be located in a tier comprising flash devices and the second portion may be located in a different tier of high-speed or low-speed drives.

Referring to FIG. 6, shown is an example illustrating information that may be defined and used in connection with techniques herein. The example 200 includes multiple storage tiers 206, 208, and 210, an allocation policy (AP) 204, and storage group (SG) 202. The SG 202 may include one or more thin devices (TDs), such as TD A 220 and TD B 222, used by an application 230. The application 230 may execute, for example, on one of the hosts of FIG. 1. The techniques herein may be used to determine how to partition physical storage of the multiple storage tiers 206, 208 and 210 for use in storing or locating the application's data, such as data of the TDs 220 and 222. It should be noted that the particular number of tiers, TDs, and the like, should not be construed as a limitation. An SG may represent a logical grouping of TDs used by a single application although an SG may correspond to other logical groupings for different purposes. An SG may, for example, correspond to TDs used by multiple applications.

Each of 206, 208 and 210 may correspond to a tier definition as described elsewhere herein. Element 206 represents a first storage tier of flash drives having a tier capacity limit C1. Element 208 represents a first storage tier of high-speed disk drives having a tier capacity limit C2. Element 210 represents a first storage tier of low-speed disk drives having a tier capacity limit C3. Each of C1, C2 and C3 may represent an available or maximum amount of storage capacity in the storage tier that may be physical available in the system. The AP 204 may be associated with one of more SGs such as SG 202. The AP 204 specifies, for an associated SG 202, a capacity upper limit or maximum threshold for one or more storage tiers. Each such limit may identify an upper bound regarding an amount of storage that may be allocated for use by the associated SG. The AP 204 may be associated with one or more of the storage tiers 206, 208 and 210 that may be defined in a multi-tier storage environment. The AP 204 in this example 200 includes limit 204 a identifying a maximum or upper limit of storage for tier1, limit 204 b identifying a maximum or upper limit of storage for tier2, and limit 204 c identifying a maximum or upper limit of storage for tier3. The SG 202 may be based on an SG definition identifying 202 a the logical devices, such as TDs included in the SG.

In connection with techniques herein, the maximum limits 204 a, 204 b and 204 c each represent an upper bound of a storage capacity to which an associated SG is subjected to. The techniques herein may be used to partition less than the amount or capacity represented by such limits. An amount of physical storage of a tier allocated for use by an application is allowed to vary up to the tier limit as defined in the AP 204 in accordance with other criteria associated with the application such as, for example, varying application workload. The optimizer may vary the amount of storage in each tier used by an SG 202, and thus an application, based on workload and possibly other criteria when performing a cost benefit analysis, where such amounts are subject to the limits of the SG's AP and also performance limits described in more detail elsewhere herein. At a second point in time, the workloads and possibly other criteria for the applications may change and the optimizer may repartition the storage capacity used by each application subject to the capacity limits of APs and performance limits.

Referring to FIG. 7, shown is an example which more generally illustrates different associations between SGs, APs and tiers in an embodiment in accordance with techniques herein. The example 350 illustrates that an embodiment may have multiple storage tiers (e.g., tiers 1-N), multiple APs (e.g., AP1-N), and multiple SGs (e.g., SG 1-M). Each AP may be associated with one or more of the storage tiers. Each AP may also be associated with different tiers than other APs. For example, APn is associated with Tier N but AP1 is not. For each tier associated with an AP, the AP may define a maximum capacity limit as described in connection with FIG. 6. Each AP may be associated with one or more SGs. For example SGs 1-N may be associated with a same AP1, and SGs N+1 through M may be associated with a same APn.

With reference back to FIG. 6, each of the maximum capacity limits may have any one of a variety of different forms. For example, such limits may be expressed as a percentage or portion of tier total storage capacity (e.g., such as a percentage of C1, C2, or C3), as an integer indicating an amount or quantity of storage 410 c (e.g., indicating a number of bytes or other number of storage units), and the like.

Data used in connection with techniques herein, such as the performance data of FIG. 3 used in determining device and SG workloads, may be obtained through observation and monitoring actual performance. Data may also be determined in other suitable ways such as, for example, through simulation, estimation, and the like. Observed or collected data may be obtained as described in connection with FIG. 3 by monitoring and recording one or more aspects of I/O activity for each TD, and portions thereof. For example, for each TD, and/or portions thereof, an average number of reads occurring within a given time period may be determined, an average number of writes occurring within a given time period may be determined, an average number of read misses occurring within a given time period may be determined, and the like. It should be noted that the operations of read and write with respect to a TD may be viewed as read and write requests or commands from the DA, controller or other backend physical device interface. Thus, these operations may also be characterized as an average number of operations with respect to the PSU (e.g., average number of physical device reads, writes, and the like, based on physical device accesses). This is in contrast to observing or counting a number of particular types of I/O requests (e.g., reads or writes) as issued from the host and received by a front-end component. To illustrate, a host read request may not result in a read request or command issued to the DA if there is a cache hit and the requested data is in cache. The host read request results in a read request or command issued to the DA to retrieve data from the physical drive only if there is a read miss. Furthermore, when writing data of a received host I/O request to the physical device, the host write request may result in multiple reads and/or writes by the DA in addition to writing out the host or user data of the request. For example, if the data storage system implements a RAID data protection technique, such as RAID-5, additional reads and writes may be performed such as in connection with writing out additional parity information for the user data. Thus, observed data gathered to determine workload, such as observed numbers of reads and writes, may refer to the read and write requests or commands performed by the DA. Such read and write commands may correspond, respectively, to physical device accesses such as disk reads and writes that may result from a host I/O request received by an FA.

It should be noted that movement of data between tiers from a source tier to a target tier may include determining free or unused storage device locations within the target tier. In the event there is an insufficient amount of free of unused storage in the target tier, processing may also include displacing or relocating other data currently stored on a physical device of the target tier. An embodiment may perform movement of data to and/or from PSUs using any suitable technique. Also, any suitable technique may be used to determine a target storage device in the target tier where the data currently stored on the target is relocated or migrated to another physical device in the same or a different tier.

One embodiment in accordance with techniques herein may include multiple storage tiers including a first tier of flash devices and one or more other tiers of non-flash devices having lower performance characteristics than flash devices. The one or more other tiers may include, for example, one or more types of disk devices. The tiers may also include other types of SSDs besides flash devices.

As described above, a thin device (also referred to as a virtual provision device) is a device that represents a certain capacity having an associated address range. Storage may be allocated for thin devices in chunks or data portions of a particular size as needed rather than allocate all storage necessary for the thin device's entire capacity. Therefore, it may be the case that at any point in time, only a small number of portions or chunks of the thin device actually are allocated and consume physical storage on the back-end (on physical disks, flash or other PSUs). A thin device may be constructed of chunks having a size that may vary with embodiment. For example, in one embodiment, a chunk may correspond to a group of 12 tracks (e.g., 12 tracks*64 Kbytes/track=768 Kbytes/chunk). As also noted with a thin device, the different chunks may reside on different data devices in one or more storage tiers. In one embodiment, as will be described below, a storage tier may consist of one or more storage pools. Each storage pool may include multiple LVs and their associated PSUs. With thin devices, a system in accordance with techniques herein has flexibility to relocate individual chunks as desired to different devices in the same as well as different pools or storage tiers. For example, a system may relocate a chunk from a flash storage pool to a low-speed storage pool. In one embodiment using techniques herein, a thin device can be bound to a particular storage pool of a storage tier at a point in time so that any chunks requiring allocation of additional storage, such as may occur when writing data to the thin device, result in allocating storage from this storage pool. Such binding may change over time for a thin device.

A thin device may contain thousands and even hundreds of thousands of such chunks. As such, tracking and managing performance data such as one or more performance statistics for each chunk, across all such chunks, for a storage group of thin devices can be cumbersome and consume an excessive amount of resources. Described in following paragraphs are techniques that may be used in connection with collecting performance data about thin devices where such information may be used to determine which chunks of thin devices are most active relative to others. Such evaluation may be performed in connection with determining promotion/demotion thresholds use in evaluating where to locate and/or move data of the different chunks with respect to the different storage tiers in a multi-storage tier environment. In connection with examples in following paragraphs, details such as having a single storage pool in each storage tier, a single storage group, and the like, are provided for purposes of illustration. Those of ordinary skill in the art will readily appreciate the more general applicability of techniques herein in other embodiments such as, for example, having a storage group including a plurality of storage pools, and the like.

Referring to FIG. 8A, shown is an example 700 illustrating use of a thin device in an embodiment in accordance with techniques herein. The example 700 includes three storage pools 712, 714 and 716 with each such pool representing a storage pool of a different storage tier. For example, pool 712 may represent a storage pool of tier A of flash storage devices, pool 714 may represent a storage pool of tier B of high-speed storage devices, and pool 716 may represent a storage pool of tier C of low-speed storage devices. Each storage pool may include a plurality of logical devices and associated PSUs (or portions thereof) to which the logical devices are mapped. Element 702 represents the thin device address space or range including chunks which are mapped to different storage pools. For example, element 702 a denotes a chunk C1 which is mapped to storage pool 712 and element 702 b denotes a chunk C2 which is mapped to storage pool 714. Element 702 may be a representation for a first thin device which is included in a storage group of one or more thin devices.

It should be noted that although the example 700 illustrates only a single storage pool per storage tier, an embodiment may also have multiple storage pools per tier.

Referring to FIG. 8B, shown is an example representation of information that may be included in an allocation map in an embodiment in accordance with techniques herein. An allocation map may be used to identify the mapping for each thin device (TD) chunk (e.g. where each chunk is physically located). Element 760 represents an allocation map that may be maintained for each TD. In this example, element 760 represents information as may be maintained for a single TD although another allocation map may be similarly used and maintained for each other TD in a storage group. Element 760 may represent mapping information as illustrated in FIG. 8A such as in connection the mapping of 702 to different storage pool devices. The allocation map 760 may contain an entry for each chunk and identify which LV and associated physical storage is mapped to the chunk. For each entry or row of the map 760 corresponding to a chunk, a first column 760 a, Chunk ID, denotes an identifier to uniquely identify the chunk of the TD, a second column 760 b, indicates information about the LV and offset to which the chunk is mapped, and a third column storage pool 760 c denotes the storage pool and tier including the LV of 760 b. For example, entry 762 represents chunk C1 illustrated in FIG. 8A as 702 a and entry 764 represents chunk C2 illustrated in FIG. 8A as 702 b. It should be noted that although not illustrated, the allocation map may include or otherwise use other tables and structures which identify a further mapping for each LV such as which physical device locations map to which LVs. This further mapping for each LV is described and illustrated elsewhere herein such as, for example, with reference back to FIG. 5B. Such information as illustrated and described in connection with FIG. 8B may be maintained for each thin device in an embodiment in accordance with techniques herein.

In connection with collecting statistics characterizing performance, workload and/or activity for a thin device, one approach may be to collect the information per chunk or, more generally, for the smallest level of granularity associated with allocation and de-allocation of storage for a thin device. Such statistics may include, for example, a number of reads/unit of time, #writes/unit of time, a number of pre-fetches/unit of time, and the like. However, collecting such information at the smallest granularity level does not scale upward as number of chunks grows large such as for a single thin device which can have up to, for example 300,000 chunks.

Therefore, an embodiment in accordance with techniques herein may collect statistics on a grouping of “N” chunks also referred to as an extent, where N represents an integer number of chunks, N>0. N may be, for example, 480 in one embodiment. Each extent may represent a consecutive range or portion of the thin device in terms of thin device locations (e.g., portion of the address space or range of the thin device). Note that the foregoing use of consecutive does not refer to physical storage locations on PSUs but rather refers to consecutive addresses with respect to a range of addresses of the thin device which are then mapped to physical device locations which may or may not be consecutive, may be on the same or different PSUs, and the like. For example, in one embodiment, an extent may be 480 chunks (N=480) having a size of 360 MBs (megabytes).

An extent may be further divided into sub extents, where each sub extent is a collection of M chunks. M may be, for example 10 in one embodiment. In one embodiment, the sub-extent size may correspond to the smallest granularity of data movement. In other words, the sub extent size represents the atomic unit or minimum amount of data that can be operated upon when performing a data movement such as between storage tiers.

Referring to FIG. 9, shown is an example illustrating partitioning of a thin device's address space or range in an embodiment in accordance with techniques herein. The example 250 includes a thin device address space or range 252 which, as described elsewhere herein, includes chunks mapped to physical storage locations. The thin device address space or range 252 may be partitioned into one or more extents 254 a-254 n. Each of the extents 254 a-254 n may be further partitioned into sub-extents. Element 260 illustrates that extent X 254 n may include sub extents 256 a-256 n. Although only detail is illustrated for extent 254 n, each of the other extents of the thin device also includes a same number of sub extents as illustrated for 254 n. Each of the sub extents 256 a-256 n may represent a grouping of “M” chunks. Element 262 illustrates that sub extent 1 256 a may include chunks 258 a-258 n. Although only detail is illustrated for sub extent 256 a, each of the other sub extents 256 b-256 n also includes a same number of “M” chunks as illustrated for 256 a. Thus, each of the extents 254 a-254 n may represent an grouping of “N” chunks, where N=# sub extents/extent*M chunks/sub extent  EQUATION 1

An embodiment in accordance with techniques herein may collect statistics for each extent and also other information characterizing activity of each sub extent of a thin device. Statistics for each extent may be characterized as either long term or short term. Short term refers to statistics which may reflect performance, workload, and/or I/O activity of an extent with respect to a relatively short window of time. Thus, short term statistics may reflect recent extent activity for such a short time period. In contrast and relative to short term, long term refers to statistics reflecting performance, workload and/or I/O activity of an extent with respect to a longer period of time. Depending on the evaluation being performed, such as by the optimizer, it may be desirable to place greater weight on short term information than long term, or vice versa. Furthermore, the information maintained per sub extent may be used as needed once particular extents of interest have been identified.

Referring to FIG. 10, shown is an example of information that may be collected and used in connection each extent in an embodiment in accordance with techniques herein. The example 300 illustrates that short term information 302, long term information 304 and a sub extent activity bitmap 306 may be collected for each extent. The short term information 302 and long term information 304 may be used in connection with determining short term rates 320 and long term rates 330 for each extent. The statistics included in 302, 304, 320 and 330 may reflect activity with respect to the entire extent. The activity bitmap 306 is illustrated in further detail by element 307 as including an entry for each sub extent in the associated extent. Entries of 307 are denoted by A, B, C, and the like. Each of the entries of 307 represents aggregated or collective activity information for a corresponding sub extent denoted by the numeric identifiers 307 a of 1, 2, 3, etc. Each entry of 307 may include one or more bits used to encode an activity level with respect to all chunks of a corresponding sub-extent. For example, the entry of 307 denoted as A represents an activity level for all chunks in sub extent 1. An embodiment may use any number of bits for each entry of the activity bitmap 306, 307. For example, in one embodiment, each entry of the activity bitmap may be 2 bits capable of representing any of 4 integer values—0, 1, 2, and 3.

As will be described in following paragraphs, the short term rates 320, long term rates 330 and sub extent activity bitmap 306 may be used in connection with a variety of different evaluations such as by the optimizer 138. Generally, the activity level information or data for an extent such as illustrated in FIG. 10 may be referred to as extent activity level information including one or more metrics indicating an activity level for the extent. The extent activity level information may comprise short term activity information (e.g., such as 302 and/or 320) and long term activity information (e.g., such as 304 and 330).

In one embodiment, the short term rates 320 for an extent may include a read miss rate (e.g., random read miss (RRM) rate) 322, a write I/O rate 324 and a pre-fetch rate 326 for the extent. The long term rates 330 for an extent may include a read miss rate 332 (e.g., number of read misses/unit of time, where a read miss refers to a cache miss for a read), a write I/O rate 334 (e.g., number of writes/unit of time) and a pre-fetch rate 336 (e.g., number of pre-fetches/unit of time) for the extent. As known in the art, data may be pre-fetched from a physical device and placed in cache prior to reference or use with an I/O operation. For example, an embodiment may perform sequential stream I/O recognition processing to determine when consecutive portions of a thin device are being referenced. In this case, data of the sequential stream may be pre-fetched from the physical device and placed in cache prior to usage in connection with a subsequent I/O operation. In connection with a portion of data at a first point in a sequential stream associated with a current I/O operation, data subsequent to the first point may be pre-fetched such as when obtaining the portion from a physical device in anticipation of future usage with subsequent I/Os. The short term pre-fetch rate 326, as well as the long term pre-fetch rate 336, may also be referred to as denoting a number of sequential reads or sequential read miss operations performed since such pre-fetching may occur in response to determination that a read operation is performed for data which is not in cache (read miss) and the read operation is for data included in a series of sequentially read data portions as described above. The read miss rates 322 and 332 may represent random read miss (RRM) rates where such read misses (e.g., data requested not currently in cache) are associate with read operations not included in connection with reading data of a sequential stream (e.g., all read misses not used in connection with computing 326 and 336).

Each of the foregoing rates of 320 and 330 may be with respect to any unit of time, such as per second, per hour, and the like. In connection with describing elements 302 and 304 in more detail, what will be described is how an embodiment in accordance with techniques herein may determine the short term rates 320 and long term rates 330 using a decay function and decay coefficients.

In an embodiment in accordance with techniques herein, a decay coefficient may be characterized as a weighting factor given to previous activity information. The higher the coefficient, the greater the weight given to previous activity information for the extent. Thus, the adjusted activity level of an extent at a current time, “An”, may be generally represented as a function of a current observed or actual activity level for the current time, “a_(n)”, a decay coefficient, “r”, and previous adjusted activity level for the previous time period or sampling period, “A_(n-1)”. In connection with the foregoing, “A” may represent an adjusted activity level, “n” may denote the current time period or sampling period and “n−1” may denote the immediately prior or previous time period or sampling period at which the activity for the extent was determined. In other words, “a_(n)” is adjusted to take into account previous activity as represented by “A_(n-1)” and “An” represents the resulting adjusted value of “a_(n)”. With respect to a statistic or metric such as a number or read misses, “a_(n)” and “An” may each represent an integer quantity or number of read misses within a current sampling period, “n”. The foregoing may generally be represented as: An=a _(n)+(r*A _(n-1))  EQUATION 2 wherein

a_(n) is the actual observed activity metric for the current or “nth” sampling period,

“r” is a decay coefficient,

“A_(n)” is the adjusted activity metric for the current or “nth” sampling period, and

“A_(n-1)” is the adjusted activity metric from the previous or “n−1” sampling period.

Beginning with an initial time period or sampling period, denoted by i=“0” (zero), the adjusted activity A0 may be initially that which is observed, a0. Subsequent observed or actual activity levels may be adjusted as described above. Generally, “a_(i)” may denote an actual or observed value obtained for an activity metric for a sampling period “i”, where “i” is an integer greater than or equal to 0. “Ai” may similarly denote an adjusted activity metric (or adjusted value for “a_(i)”) for a sampling period “i”, where “i” is an integer greater than or equal to 0. Thus, for consecutive sample periods at which actual or observed activity metrics are obtained (as denoted by lower case “a_(i)”s), corresponding adjusted activity levels (e.g., “A” values) may be determined as follows: A0=a0 /* Adjusted activity level A0, at time=0 or initially */ A1=a1+(r*A0) /* Adjusted activity level A1, at first sampling period, i=1 */ A2=a2+(r*A) /* Adjusted activity level A2, at second sampling period, i=2 */ : and so on for subsequent sampling periods 3, 4, and the like, based on EQUATION 2.

In connection with EQUATION 2, 0<=r<1, where “r” is a decay coefficient or weight given to previous activity. Varying “r” in EQUATION 2 results in accordingly varying the weight given to past or previous activity. If r=0, then no weight is given to previous or historic values. Thus, the closer “r” is to 0, the lesser weight given to previous activity. Similarly, the closer “r” is to 1, the greater the weight given to previous activity. In connection with determining an adjusted activity level, An, using EQUATION 2 for short term and long term, different decay coefficients may be selected. Generally “r” for short term is less than “r” used in connection with long term activity. For example, in one embodiment, “r” used in connection short term activity levels may be 50% or 0.50 or smaller. “r” used in connection with long term activity levels may be 80% or 0.80 or larger. The foregoing are exemplary values that may be selected for “r” in connection with short term and long term activity levels depending on the weight to be given to previous activity. In connection with short term activity, a decay coefficient may be selected in accordance with providing a relatively short term rate of decay for an activity level metric determined at a point in time. For example, a short term rate of decay may provide for a rate of decay for an activity level metric on the order of one or more hours (e.g., less than a day). In connection with long term activity, a decay coefficient may be selected in accordance with providing a relatively long term rate of decay for an activity level metric determined at a point in time. For example, a long term rate of decay may provide for a rate of decay for an activity level metric on the order of one or more days, a week, and the like. Thus, an activity metric at a first point in time may have a weighted or residual effect on an adjusted activity level determined at a later point in time in accordance with the selected decay coefficient indicating the rate of decay of the activity metric.

As mentioned above, EQUATION 2 results in a metric or count, such as a number of read misses, number of writes, or number or pre-fetches during a sample period. It may be desirable to also determine a rate with respect to a unit of time, such as per second, per hour, and the like, for each of the foregoing adjusted activity metrics An. A rate with respect to a unit of time for the adjusted activity level An may be represented as: Ar=An*(1−r)/(1−r ^(n-1))  EQUATION 3 where Ar=the adjusted activity rate per unit of time,

r=decay coefficient or weight as described above,

n=denotes an “nth” sampling period as described above,

An=adjusted activity level determined for a given sampling period “n” (e.g. using EQUATION 2 as described above).

Generally, the higher the decay coefficient, r, the slower the change in Ar as may be the desired case with long term Ar values. Thus an embodiment may select decay coefficients for use with long term and short term Ar values so that, when plotted with respect to time, long term Ar values generally have a smaller slope than that associated with short term Ar values.

Referring to FIG. 11, shown is an example graphically illustrating the general shape of curves for long term (LT) and short term (ST) values in an embodiment in accordance with techniques herein. The activity level values (Y-axis values) are plotted with respect to time (X-axis). The activity level values may be determined using EQUATIONS 2 and/or 3. Curve 402 may be produced using one of EQUATIONS 2 and 3 where a first value for the decay coefficient “r” is selected for ST usage. Curve 404 may be produced using one of EQUATIONS 2 and 3 where a second value for the decay coefficient “r” is selected for LT usage. The values selected for “r” in connection with 402 and 404 may be relative so that the first value for “r” used with 402 is less than the second value for “r” used with 404.

In one embodiment, each of the different An values determined using EQUATION 2 may be converted to a corresponding Ar value using EQUATION 3 when desired.

In connection with the foregoing, for example, with respect to a number of read misses, “a_(n)” represents the number of such operations that have occurred in a current sample period, n. For example, if a sample period=10 minutes so that statistics for an extent are collected and/or computed every 10 minutes, “a_(n)” represents the number of read misses that occurred in the last 10 minute sample period or time interval. A_(n-1) represents the previous or last A calculation (e.g., as determined using EQUATION 2) from the previous sample period, denoted “n−1”.

With reference back to FIG. 10, an embodiment may collect short term information 302 as counter values indicating a count or number of each type of operation for a current time period or sampling period “n”. The following may represent different “a_(n)” values as included in the short term information 302 for an extent: read miss count (number of read misses for the extent during the sampling period), pre-fetch count (number of pre-fetches for the extent during the sampling period) and write count (number of writes for the extent during the sampling period).

The short term information 302 may also include storing previous A values as determined for the sampling period “n−1” using EQUATION 2 above. For example, short term information 302 may also include storing three (3) previous adjusted activity level values or A values for sampling period “n−1” using EQUATION 2 above for the read miss count, pre-fetch count and write count.

The short term information 302 may also include a timestamp value indicating the timestamp associated with the previous sampling period “n−1”.

Using the above-mentioned short term information 302, an embodiment may calculate updated short term rates 320 using EQUATION 3 for a sampling period “n” for a selected “r” as a short term decay coefficient. With each new sampling period, the short term information may be accordingly updated so that which is associated with sampling period “n” subsequently becomes associated with sampling period “n−1”.

The long term information 304 may include long term rates or Ar values as determined using EQUATION 3 for a read miss rate (e.g., number of read misses/second), a pre-fetch rate (e.g., number of pre-fetches/second) and a write rate (e.g., number of writes/second). The long term information 304 may also include a time duration interval used for determining an adjusted Ar value for the current time or sampling period “n”. For example, the time duration interval may represent the amount of time for which statistics are collected and used in connection with long term Ar values. An embodiment may store a set of long term Ar values rather than calculate such Ar values on demand from other stored information as in the case above for short term rates 320 (e.g., where short term information 302 is stored and used to calculate short term rates 320 on demand). Thus, in such an embodiment, the long term rates 330 may be included the long term information 304 where such long term rates 330 may be updated with each sampling period. In one embodiment with the arrival of a new sampling period “n”, the long term information 304 may include Ar values for the foregoing statistics as determined using EQUATION 3 for a sampling period “n−1”. These long term Ar values for “n−1” may each be multiplied by the time duration interval to determine A_(n-1), an adjusted metric for the long term time period. The foregoing A_(n-1) value may then be used with EQUATION 2 to determine An for the current sampling period “n” using a selected “r” as a long term decay coefficient. Using An, EQUATION 3 may then be used to obtain updated long term rates Ar values. With each new sampling period, the long term information may be accordingly updated so that which is associated with sampling period “n” subsequently becomes associated with sampling period “n−1”.

With reference back to FIG. 10, described above is an activity bitmap 306 having an entry per sub extent where each such entry may indicate an aggregate or collective activity level with respect to all chunks of the associated sub-extent. The number of different activity level states that may be represented for each sub extent depends on the number of bits per entry of the activity bitmap. In one embodiment, each entry of the activity bitmap may be 2 bits as described above so that each entry may be an integer in the inclusive range of 0 . . . 3. Processing may be performed to decrement each entry having a non-zero value by 1 every predetermined time period, such as every 12 hours. Each time there is any I/O operation to a sub extent since the sub extent was located or moved to its current physical location, the sub extent's entry in the activity bitmap 306 may be set to 3. Thus, each entry in the bitmap may represent activity level information for up to 3 of the predetermined 12 hour time periods. An embodiment may also have a different number of bits per entry to represent a larger number of predetermined time periods. Based on the foregoing, the lower the value of a bitmap entry for a sub extent, the longer the amount of time that has lapsed since the sub extent has had any I/O activity.

Referring to FIG. 12, shown is a flowchart of processing steps that may be performed in connection with each activity bitmap associated with an extent in an embodiment in accordance with techniques herein. The flowchart 500 summarizes processing described above where each bitmap for each extent may be traversed with the occurrence of a predetermined time interval, such as every 12 hours. At step 502, a determination is made as to whether the next time interval has lapsed. If not, processing waits at step 502 until step 502 evaluates to yes and control proceeds to step 504. At step 504, I is initialized to the next entry in the bitmap. I represents a loop counter when traversing through the bitmap and denotes the bitmap entry currently selected for processing. At step 506, a determination is made as to whether the entire bitmap has been processed. If step 506 evaluates to yes, control proceeds to step 502 until an amount of time again lapses equal to that of the time interval. If step 506 evaluates to no, control proceeds to step 508 where a determination is made as to whether the current bitmap entry (e.g., bitmap [I]) is zero. If so, control proceeds to step 504. Otherwise, control proceeds to step 510 where the current bit map entry is decremented by one (1) and control proceeds to step 504 to process the next entry in the bitmap.

The activity bitmap may be used in connection with determining an activity level associated with each sub extent, the smallest amount of data that can be associated with a data movement operation to relocate data from one physical device to another. It should be noted that an embodiment may have functionality and capability to physically move data in units or amounts less than a sub extent. However, when performing processing to determine data movement candidates, such as by the optimizer, such processing may consider candidates for data movement which have a minimum size of a sub extent. That is, all data of the sub extent may be either moved or relocated as a complete unit, or remains in its current location. In connection with a sub extent when performing a data movement, it may be that not all chunks of the sub extent are actually moved. For example, suppose a sub extent is 10 chunks and the sub extent is to be moved from a first storage tier, such as from low-speed or high-speed drives, to a second storage tier, such as flash. It may be that 9/10 chunks of the sub extent are unallocated or already in flash storage with only 1 chunk stored in the first storage tier. In this case, processing only needs to actually move the single chunk from the first storage tier to flash since the remaining 9 chunks are either already in the flash tier or unallocated. With a sub extent, the amount of data actually moved may be at most the size of the sub extent but may be less depending on, for example, whether all chunks of the thin device sub extent are allocated (e.g., actually map to physical storage), depending on the current physical device upon which chunks of the sub extent are located prior to movement, and the like. It should be noted that chunks of a sub extent may be located in different storage tiers, for example, depending on where the chunk's data is stored such as at the time when written as well as the result of other conditions that may vary with embodiment.

As an example use of the activity bitmap is in connection with promotion and demotion. As an example use of the activity bitmap, the bitmap may be used to determine selective sub extents which exhibit the highest activity level such as those having counters=3 (e.g., “hot” or active areas of the extent). These sub extents may be candidates for promotion or data movement to a higher performing storage tier and may be given preference for such promotion and data movement over other sub extents having activity bitmap entries which are less than 3. In a similar manner, the activity bitmap may be used to identify the “coldest” or inactive sub extents. For example, sub extents having bit map entries=0 may be candidates for demotion to a lower performing storage tier.

In connection with promotion data movements, an embodiment may want to be responsive to a change in workload with respect to the short term. With demotion, an embodiment may not want to move data as quickly as with promotion and may also want to consider longer term workloads prior to moving such data to a lesser performing storage tier. With promotion, an embodiment may give greater weight to ST workload and activity data. With demotion, an embodiment may additionally consider LT workload and activity rather than just such ST information.

The information as described and illustrated in FIGS. 10-12 above may be used for a variety of different purposes and evaluations. For example, an embodiment may use one or more of the short term rates to identify one or more active extents based on such aggregated extent-level activity data. Subsequently, once an active extent is identified such as a candidate for promotion, the extent's activity bitmap may be examined to determine which sub extents are most active. Processing may be performed to selectively move some of the sub extents of the active extent (e.g., those with counters=3) to a higher performing storage tier.

As another example, the activity bitmaps of extents may be used to determine a promotion ranking used to identify which extent may be promoted prior to one or more other extents. To further illustrate, an embodiment may have two extents, both which are candidates for promotion. The two extents may exhibit similar activity levels based on aggregate extent-level information such as based on short term rates 320 for each extent. The extent having the lesser number of active sub extents may have a higher priority for movement than the other extent. For example, processing may be performed to count the number of non-zero bit map entries for each of the two extents. The extent having the lower count may have a higher priority than the other extent having a higher count. In other words, the extents may be ranked or ordered for promotion based on a number or count of non-zero bit map entries. The extent having the lower count may be characterized as also exhibiting the greatest activity level density based on the foregoing counts of the activity bitmaps.

As another example in connection with demotion, an embodiment may use one or more of the short term rates 320 in combination with one or more of the long term rates 330 to identify one or more inactive extents based on such aggregated extent-level activity data. Subsequently, once an inactive extent is identified, the extent's activity bitmap may be examined to determine which sub extents are inactive and should be demoted rather than automatically demoting all sub extents of the inactive extent. Processing may be performed to selectively move some of the sub extents (e.g., those with counters=0, counters less than some threshold such as 1, and the like) to a lower performing storage tier.

One embodiment in accordance with techniques herein may include multiple storage tiers including a first tier of flash devices and one or more other tiers of non-flash devices having lower performance characteristics than flash devices. The one or more other tiers may include, for example, one or more types of disk devices. The tiers may also include other types of SSDs besides flash devices.

The different levels of activity information described herein as obtained at a thin device level, extent level, and sub extent level provide a hierarchical view for characterizing activity of different portions of thin devices. Activity information at higher device levels may be used to first identify devices which may be candidates for data movement, such as between storage tiers (e.g. for promotion and/or demotion). In connection with thin devices, once such a first device is identified, additional detail regarding the first device's activity as reflected in extent activity level information may be used to identify an extent of the first device as a candidate for data movement. Subsequently, the activity bitmap for the extent identified may then be used to determine one or more sub extents of the identified extent for data movement. The techniques herein may be used for collecting and tracking activity of thin devices. Use of the decay coefficients and equations for determining adjusted activity levels to account for previous activity levels provides an effective way of tracking workload and activity over time without having to keep a large database of historical statistics and metrics for long and short time periods.

In addition to the activity information described above for each extent and sub extent of a thin device, an embodiment may also track device level activity information for logical devices (e.g., thin devices, LVs, and the like) and PSUs in a data storage system as also noted. Additionally, an embodiment may track activity information for thin device pools. When a DA or other device interface services an I/O, the DA may not typically have any knowledge regarding thin devices as may be known from the host's point of view. In connection with collecting data for use with techniques herein, each DA may be provided with additional mapping information regarding thin devices and where storage for the thin devices is allocated (e.g., such as described by the allocation map). The DA may use this information to determine what thin device (if any) is associated with a given back-end I/O request. When the DA is servicing a back-end I/O request, the DA may record information about the I/O including information about the thin device associated with the I/O request. Such additional information about the thin device may be used in order to perform statistics collection of activity data for the thin devices in accordance with techniques herein.

In addition to the statistics and activity data described above, an embodiment may also collect and store information regarding expected I/O size information for each extent, thin device (or other logical device), physical device, and the like. Such information may be determined in any one or more suitable ways in an embodiment. For example, an embodiment may determine expected I/O sizes that represent the average size with respect each of the particular types of I/O operations for which statistics are collected. In connection with the embodiment herein, the types of I/O operations for which statistics are collected may be as described above for read miss or random read miss (RRM), pre-fetch (P) or sequential read miss (SRM), and write (W). In a manner similar to that as described elsewhere herein for other statistics, the average I/O sizes may be determined based on size information collected for observed I/O operations. The collected size information based on observed I/Os may be used in determining or modeling expected I/O sizes in connection with equations, such as EQUATION 4, described elsewhere herein when determining various scores. For example, an embodiment may determine a first average I/O size based on I/O sizes of write operations observed for a time period, a second average I/O size based on I/O sizes for SRM operations for a time period, and a third average I/O size based on I/O sizes for RRM operations for a time period. The foregoing average I/O sizes may be tracked with respect to each extent and other levels (e.g., thin device, physical device, etc.) in a manner similar to that as described above such as in FIG. 10 for other statistics. An embodiment may also use other approaches which may be further simplified. For example, rather than track such I/O size information for each extent, an embodiment may determine an average I/O size with respect to each particular type of I/O operation (W, RRM and SRM) as an aggregate across one or more devices, such as for a physical device, pool of PSUs, thin device, and the like, and then determine an average I/O size with respect to all extents or data portions thereof. In one embodiment, the expected I/O size for any desired I/O operation type such as used in connection with EQUATIONs 4 and 5 described elsewhere herein, may be computed as an average I/O size based on previously gathered data including metrics related to total amount of data (in bytes, megabytes, or other size unit) for a given time period and total number of I/O operations (for the time period over which the total amount of data is determined). More formally, the average I/O size used as an expected I/O size for a given I/O type may be represented as: Ave size for given I/O type=TOTAL_DATA_TRANSFER/TOTAL_OPS  EQUATION 3A where

“Ave size for given I/O type” is the average or expected I/O size for a given I/O operation type (e.g., Read, Write, Read miss, etc.);

“TOTAL_DATA_TRANSFER” is the total amount of data (e.g., in bytes, megabytes or other size unit) for the desired I/O operation type for a given time period; and

“TOTAL_OPS” is the total number of I/O operations observed during the time period for which the TOTAL_DATA_TRANSFER is observed.

It should be noted that EQUATION 3A is one way in which an embodiment may estimate that averages as may be used in connection with expected I/O sizes as described elsewhere herein. Another way an embodiment may determine average I/O sizes is based on a an equation using weighted averages, using information as may be gathered using the allocation map as described elsewhere herein (e.g., to gather information for data portions based on I/Os directed to the physical device where such data portions are stored), and more generally any suitable technique.

In connection with techniques in following paragraphs, the extent-based short term and long term statistics or metrics as described in FIG. 10 may be used in determining scores indicating the activity of extents. In one embodiment, the score may be a weighted value based on a combination of all six metrics 322, 324, 326, 332, 334 and 336 of FIG. 10 although an embodiment may generally use any metrics in determining such scores. In an embodiment herein, a promotion score for an extent may be represented in EQUATION 4 as: ((P1*P7*s_rrm)+(P2*P8*s_w)+(P3*P9*s_p)+(P4*P10*l_rrm)+(P5*P11*l_w)+(P6*P12*l_p))/(# Active Subext+1) where s_rrm is the rate of short term random read misses (322), s_w is the rate of short term writes (324), s_p is the rate of short term pre-fetches or SRMs (326), Lam is the rate of long term random read misses (332), l_w is the rate of long term writes (334), and l_p is the rate of long term pre-fetches or SRMs. The coefficients P1-P12 may be set as appropriate and are described in more detail elsewhere herein. It should be noted that “#Active Subext” represents the number of active subextents or subportions of an extent or other larger data portion for which the score is being determined. Examples of evaluating when a subextent or other subportion is active are described elsewhere herein. It should be noted that metrics used in connection with determining promotion and/or demotion score may take into account I/O size.

The coefficients P1-P6 may represent weights assigned to the different operation types denoting how much weight is given to each particular operation type (e.g., which of random read miss (RRM), pre-fetch (P) or sequential read miss (SRM), write (W)) and the long term and short term variants of expected rates at which such operation types are expected (e.g., predicted or modeled) to occur in the future. In one aspect, the coefficients P1 and P4 represent the weighted preference given to the RRM operation type relative to the other operations types of SRM (or P) and W. In particular, P1 represents the weighted preference given to the short term operation count or rate for the RRM operation type and P4 represents the weighted preference given to the long term operation count or rate for the RRM operation type. In a similar manner, the coefficients P2 and P5 represent the weighted preference given to the W operation type relative to the other operations types of SRM (or P) and RRM. In particular, P2 represents the weighted preference given to the short term operation count or rate for the W operation type and P5 represents the weighted preference given to the long term operation count or rate for the W operation type. Furthermore, the coefficients P3 and P6 represent the weighted preference given to the P or SRM operation type relative to the other operations types of W and RRM. In particular, P3 represents the weighted preference given to the short term operation count or rate for the P or SRM operation type and P6 represents the weighted preference given to the long term operation count or rate for the P or SRM operation type. The weights or coefficients P1-P6 may be generally referred to as operation type weights. In some embodiments, values for P1-P6 may be dynamically selected each time a new set of statistics or metrics (e.g., 320 and 330 of FIG. 10) are utilized in performing processing described herein. Values for P1-P6 may be generally selected based on expected storage tier workload characteristics and particular performance characteristics of PSUs in the different tiers. Examples of how values for P1-P6 may be selected are described in more detail elsewhere herein. It should be noted that an embodiment may also use a combination of fixed values for P1-P6 when determining a score in connection with evaluating which data portions to store in one or more of the storage tiers and may use dynamically determined values for P1-P6 when determining a score in connection with evaluating which data portions to store in one or more others of the storage tiers. For example, an embodiment may use dynamically selected values for P1-P6 when determining a promotion score of EQUATION 4 for use when evaluating which data portions to store in a target high performing SSD or flash-based storage tier, and may otherwise use a same set of fixed values for P1-P6 when determining a promotion score of EQUATION 4 for use when evaluating which data portions to store in a non-SSD or non-flash-based storage tiers (e.g., storage tiers comprising rotational disk drives). In an embodiment, the fixed values used for P1-P6 for non-SSD-based tiers may be 12, 4, 4, 3, 1, and 1, respectively. Of course, different values may be used to emphasize or deemphasize different I/O characteristics in connection with determination of the promotion raw score. Thus, different values for weights P1-P6 may be selected for use depending on which target tier the promotion score is being calculated for. Such values may be dynamically and continually determined based on current expected workload characteristics of a storage tier at different points in time. An embodiment may also selected weights for P1-P6 which are fixed or static throughout operation and performance of the techniques herein where such a fixed set of the same weights may be used for one or more storage tiers.

The coefficients P7-P12 may represent additional weights assigned or associated with each particular variant combination of operation type (e.g., RRM, SRM or P, and W) and short term or long term for each operation type. Generally, the coefficients P7-P12 may represent weighting factors that may be characterized as varying with, dependent on, or a function of, expected I/O size for the three different operation types of RRM, SRM or P, and W. In particular, P7 and P10 represent weighting factors that vary with, or are a function of, expected I/O size for the RRM operation type. P8 and P11 represent weighting factors that vary with, or are a function of, expected I/O size for the W operation type. P9 and P12 represent weighting factors that vary with, or are a function of, expected I/O size for the P or SRM operation type. Weights P7-P12 may also be referred to herein as I/O size or data transfer weights. As noted above, EQUATION 3A is one way in which the expected I/O size may be determined for use in connection with determining such weights. It should also be noted that as a variation to the above where in one embodiment, size weights as represented using P7-P12 may be applied to only the short term metrics (e.g., always use a size weight of 1 for weights P10, P11 and P12 for long term metrics).

In some embodiments, values for P7-P12 may be dynamically selected each time a new set of statistics or metrics (e.g., 320 and 330 of FIG. 10) are utilized in performing processing described herein. Values for P7-P12 may be generally selected based on expected storage tier workload characteristics and particular performance characteristics of PSUs in the different tiers. For example, as described in more detail elsewhere herein, if particular storage tiers have PSUs where a response time or other measurement of performance does not exhibit a substantial dependency upon I/O size, then values for P7-P12 may be 1 so as not to introduce any bias based upon expected I/O sizes for the different operation types. Examples of how values for P7-P12 may be selected are described in more detail elsewhere herein. It should be noted that an embodiment may also use fixed values for P7-P12 when determining a score in connection with evaluating which data portions to store in one or more of the storage tiers and may use dynamically determined values for P7-P12 when determining a score in connection with evaluating which data portions to store in one or more others of the storage tiers. For example, an embodiment may use dynamically selected values for P7-P12 when determining a promotion score of EQUATION 4 for use when evaluating which data portions to store in a target high performing SSD or flash-based storage tier and may otherwise use a set of fixed values for P7-P12 of 1 for all of P7-P12 when determining a promotion score of EQUATION 4 for use when evaluating which data portions to store in a non-SSD or non-flash-based storage tiers (e.g., storage tiers comprising rotational disk drives). Of course, different values may be used to emphasize or deemphasize different I/O characteristics in connection with determination of the promotion raw score. Thus, different values for weights P7-P12 may be selected for use depending on which target tier the promotion score is being calculated for.

Values of P7-P12 may be selected as a function of expected I/O sizes for the different operation types. For example, P7 and P10 may be determined as a function of the expected I/O size of the RRM operations with respect to the extents for which the promotion score is being determined. P8 and P11 may be determined as a function of the expected I/O size of the W operations with respect to the extents for which the promotion score is being determined. P9 and P12 may be determined as a function of the expected I/O size of the SRM or P operations with respect to the extents for which the promotion score is being determined.

Values for P7-P12 may be based on each storage tier and drive technology depending on the sensitivity of response time to I/O size. Thus, the drive technology may be used in selecting that particular values for P7-P12 such as using curves of FIGS. 13D and 13E where the more sensitive or greater dependency between response time and I/O size, the greater the variation in values of the bias or weights assigned.

The demotion score for an extent may be represented in EQUATION 5 as: (P4*P10*s_rrm)+(P5*P11*s_w)+(P6*P12*s_p)+(P1*P7*l_rrm)+(P2*P8*l_w)+(P3*P9*l_p) where s_rrm, s_w, pl, etc. are as set forth above.

As noted above in connection with the exemplary EQUATIONS 4 and 5 for computing, respectively, the promotion and demotion scores, the same set of coefficients may be used. Alternatively, an embodiment may, however, use a different set of coefficients for computing the promotion and demotion scores.

In a multi-tiered data storage system as described herein, an application having its data stored on thin devices of a storage group may be allowed to use multiple tiers of storage. In order to be able to use the storage of the tiers efficiently and also move a minimal number of chunks between tiers, chunks which are the most active or “hot” need to be located in the higher tiers (e.g., promoted to such tiers if not already located there) and chunks which are least active or “cold” need to be located in lower storage tiers (e.g., demoted to such tiers if not already located there). After identifying the hot and cold chunks, processing may be performed to determine how much of the hot chunks should be placed in the different storage tiers in order to efficiently utilize the higher performing tiers, such as flash tiers, while also avoiding overloading any given tier with I/O request or I/O transfer activity to the point that overall performance (e.g., across all tiers in the AP, across one or more SGs, for the whole data storage system, and the like with respect to the PSUs under consideration) would have been better had less of the workload been placed in the tier. In connection with the foregoing, techniques are described in following paragraphs which determine promotion and demotion thresholds of a data movement policy that may be associated with one or more SGs. The data movement policy as described herein in the context of thin devices affects what data portions of thin devices are data movement candidates and may be moved to another tier. The selection of promotion and demotion thresholds may be made by considering criteria including performance limits (e.g., response time, number of I/Os per time period, and the like) and capacity limits. The performance limits may be flexible or adaptable and specified for each storage tier. The capacity limits may also be specified for each storage tier and may include capacity limits included in an AP for the affected one or more SGs. The techniques model response time of target storage tiers when evaluating different alternative hypothetical considerations in which performance limits are varied for each tier when selecting promotion and demotion thresholds. The different sets of performance limits in combination with capacity limits are evaluated by modeling the expected target tier performance and then determining an overall performance metric representing an aggregate modeled performance metric across all target storage tiers for all affected SGs. In one embodiment, the overall performance metric may be an average response time determined with respect to all target storage tiers using the modeled response time as determined for each such tier. The average response time is used to compare the overall modeled performance for the storage tiers when evaluating different sets of performance limits for each target tier. Each set of performance limits specified for multiple tiers may be used as a way to provide weighting factors for I/O workload distribution across the tiers in order to reflect the performance differences of the different tier storage technologies. Utilizing such “what if” analysis to evaluate different sets of performance limits coupled with capacity limits provides for determining promotion and demotion thresholds that may be used by the DA, or more generally, other backend data storage system components, in connection with performing data movements in accordance with workload or performance impact across all target storage tiers to increase overall performance.

In connection with techniques herein as mentioned above, response time may be considered as performance criteria alone, or in combination with other performance criteria in combination with capacity limits, when determining promotion and demotion thresholds affected what data portions of a thin device may be moved between PSUs in different storage tiers. The techniques herein consider different performance characteristic information and curves that may vary with each storage tier, type of physical device, device vendor, and the like. In particular, performance curves for the different storage tiers may be determined and used to model target tier and also overall SG performance across storage tiers as part of processing to evaluate different sets of performance limits in combination with capacity limits. As an example, consider a workload of N I/O operations/second. The response time experienced for the same workload varies with storage tier due to the underlying capabilities of each tier's technology. As such, performance curves may be used in connection with techniques herein to model expected response times if a particular data movement is performed in accordance with candidate promotion and demotion thresholds.

FIG. 13 is a flowchart illustrating an example of a method 1300 of establishing and implementing performance objectives for an application based at least in part on a workload type of the application. Method 1300 is merely an illustrative embodiment of a method of establishing and implementing performance objectives for an application, and is not intended to limit the scope of the invention. Any of numerous other implementations of establishing and implementing performance objectives for an application, for example, variations of method 1300, are possible and are intended to fall within the scope of the invention.

In act 1302, one or more storage groups may be defined, for example, as described above, and, in act 1304, one or more POLs may be defined, for example, as described above. In act 1306, one or more workload types may be defined, for example, as described above.

For one or more applications and/or storage groups, acts 1308-1314 may be performed. In act 1308, a POL may be associated with the application. For example, as described above, by associating a storage group with the application, and associating a POL with the storage group, the POL may be associated with the application. In act 1310, a workload type may be associated with the storage group. For example, as described above, by associating a storage group with the application, and associating a workload type with the storage group, the workload type may be associated with the application. One or more user interfaces may be provided to enable users (e.g., a system administrator) to perform any of acts 1302-1310, for example, as part of storage management components 28 or 135.

In act 1312, storage resources may be manipulated to achieve (e.g., on an ongoing basis) the performance objective corresponding to the combination of POL and workload type associated with the application, for example, as described above (e.g., using FAST techniques). For example, different types and amounts of physical storage resources may be allocated to the storage group associated with the application, and re-allocated on an ongoing basis based on performance data captured and analyzed as part of act 1314. As noted above, in some embodiments, a workload type may not be designated for a storage group (e.g., act 1310 may not be performed), in which case act 1312 may manipulate resources to achieve (e.g., on an ongoing basis) the performance objective corresponding to the POL alone in accordance with techniques described above.

In act 1314, the performance of the application may be monitored, for example, as described above, e.g., by monitoring performance of the associated storage group. Monitoring performance may include capturing and analyzing performance data from the storage resources involved in performing I/O operations for the application. Such capturing and analyzing may be done using any of a variety of techniques, for example, any of the FAST techniques or other techniques described above in relation to FAST. Data may be captured and analyzed periodically, for example at predetermined intervals. For example, captured data may be aggregated for analysis every ten minutes. Other time intervals for data aggregation may be used.

In response to performance of act 1314, any of acts 1308, 1310 and 312 may be repeated (e.g., by a user or administer, or in an automated fashion). For example, as described above, act 1312 may be performed on an ongoing basis, e.g., in response to the iterative (e.g., periodic) performance of act 1314. Further, the POL and workload type of an application may be updated in response to act 1314. For example, the monitoring may produce information that serves as feedback (e.g., in the form of one or more reports and/or displays) to a user or administrator, who can then adjust the workload type or POL accordingly, as illustrated by arrows 1309 and 1311.

In some embodiments, POL and/or work load type may be updated automatically based on performance of act 1314, for example, based on data service parameter values provided by a user. It should be appreciated that changing the POL and/or workload of the application may change the performance objective, which may in turn alter the manner in which storage resources are manipulated as part of act 1312, in order to achieve the revised performance objective.

The monitoring and manipulation described above in relation to acts 1312 and 1314 may be done in an automated fashion without human intervention, for example, using predefined logic in software, firmware, hardware, or a suitable various combinations thereof, for example, by data service component 24, performance data monitoring software 124 and/or optimizer 138. One or more user interfaces may be provided to enable users (e.g., a system administrator) to program such predefined logic, for example, by defining rules, thresholds, conditions, policies and the like for manipulating the storage resources based on observed performance, for example, as part of storage management components 28 or 135.

Acts 1302-1314 are shown in FIG. 13 as being performed serially for illustrative purposes, and it should be appreciated that the invention is not so limited. Two or more of the acts of method 1300 may be performed in parallel and/or asynchronously to the performance of other acts of method 1300. For example, each of acts 1302, 1304, 1306, 1308 and 1310 may be performed concurrently to each other, and may be performed in response to asynchronous user or system input, as illustrated by arrows 1303, 1305, 1307, 1309 and 1311, respectively. Further, while acts 1312 and 1314 are described above as discrete acts, it should be appreciated that they may be considered part of an integrated operation involving capturing, and analyzing data and manipulating storage resources in response to same.

Establishing and implementing performance objectives for an application based at least in part on a workload type of the application (e.g., method 1300) may be implemented using the system described above in relation to FIGS. 1-12. For example, one or more components of any of the systems described in relation to FIGS. 1-12 may be configured with logic to perform one or more of the acts described above, for example, in relation to method 1300. Such logic may be embodied in one or more discrete modules of the system. Further, in some embodiments of the invention, a computer-readable storage device is provided, encoded with computer-executable instructions that, as a result of being executed by a computer, control the computer to perform one or more of the foregoing acts.

It should be appreciated that any of the information described above in relation to establishing and implementing performance objectives on a storage system for an application based at least in part on a workload type of the application may be implemented using any of a variety of data structures, which may be persisted on any of a variety of systems (e.g., as part of storage system 12) and communicated to any of a variety of entities. For example, for any of the information represented in Tables 1-4, a data structure may be provided including a plurality of entries, each entry corresponding to a row of the table (i.e., representing the information reflected in the row), not including the header (i.e., first) row. Each entry may include a plurality of fields, including a field corresponding to each column of the table. These data structures may be populated and manipulated in performance of the techniques described herein.

Methods (e.g., method 1300), and acts thereof, described herein, various embodiments and variations of these methods and these acts and other methodologies and techniques described above, individually or in combination, may be defined by computer-readable signals tangibly embodied on one or more computer-readable media, for example, non-volatile recording media, integrated circuit memory elements, or a combination thereof. Computer readable media can be any available media that can be accessed by a computer. By way of example, and not limitation, computer readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other semiconductor memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, other types of volatile and non-volatile memory, any other medium which can be used to store the desired information and which can accessed by a computer, and any suitable combination of the foregoing.

Communication media typically embodies computer-readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. The term “modulated data signal” means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, wireless media such as acoustic, RF, infrared and other wireless media, other types of communication media, and any suitable combination of the foregoing.

Computer-readable signals embodied on one or more computer-readable media may define instructions, for example, as part of one or more programs, that, as a result of being executed by a computer, instruct the computer to perform one or more of the functions described herein, and/or various embodiments, variations and combinations thereof. Such instructions may be written in any of a plurality of programming languages or scripts, for example, Java, J#, Visual Basic, C, C#, or C++, Perl, Fortran, Pascal, Eiffel, Basic, COBOL, etc., or any of a variety of combinations thereof. The computer-readable media on which such instructions are embodied may reside on one or more of the components of any systems described herein, may be distributed across one or more of such components, and may be in transition there between.

The computer-readable media may be transportable such that the instructions stored thereon can be loaded onto any computer system resource to implement the aspects of the present invention discussed herein. In addition, it should be appreciated that the instructions stored on the computer-readable medium, described above, are not limited to instructions embodied as part of an application program running on a host computer. Rather, the instructions may be embodied as any type of computer code (e.g., software or microcode) that can be employed to program a processor to implement the above-discussed aspects of the present invention.

It should be appreciated that any single component or collection of multiple components of a system, for example, any of the systems described herein, that perform the functions described herein can be generically considered as one or more controllers that control such functions. The one or more controllers can be implemented in numerous ways, such as with dedicated hardware and/or firmware, using a processor that is programmed using microcode or software to perform the functions recited above or any suitable combination of the foregoing.

Having now described some illustrative embodiments of the invention, it should be apparent to those skilled in the art that the foregoing is merely illustrative and not limiting, having been presented by way of example only. Numerous modifications and other illustrative embodiments are within the scope of one of ordinary skill in the art and are contemplated as falling within the scope of the invention. In particular, although many of the examples presented herein involve specific combinations of method acts or system elements, it should be understood that those acts and those elements may be combined in other ways to accomplish the same objectives. Acts, elements and features discussed only in connection with one embodiment are not intended to be excluded from a similar role in other embodiments.

Use of an ordinal term such as “first”, “second”, “third”, etc., in the claims to modify a claim element does not by itself connote any priority, precedence, or order of one claim element over another or the temporal order in which acts of a method are performed, but are used merely as reference labels to distinguish one claim element (in a same or different claims) having a certain name from another element having a same name (but for use of the ordinal term) to distinguish the claim elements. Use of an ordinal label other than “first” before a claim element does not mean that the invention recited in the claim necessarily includes at least one other element of the same name. For example, recitation of a “second” “item” in a claim does not mean that the invention recited in the claim necessarily includes a first “item.” Only recitation of a “first” “item” in the same claim or a claim from which the claim depends would necessarily make such element a part of the recited invention. 

What is claimed is:
 1. For a system including a storage system on which an application imposes a workload by utilizing storage resources of the storage system, wherein the storage resources comprise at least two physical storage devices of different types having different performance characteristics, and wherein a performance level has been associated with the application, a method comprising acts of: associating a workload type with the application based on the type of workload, wherein the workload type includes storage system performance metrics and storage system data services associated with the application; determining a performance objective for the application based on a combination of the performance level and the workload type associated with the application; manipulating the storage resources to achieve on an ongoing basis the performance objective, wherein manipulating the storage resources includes dynamically allocating different types and amounts of physical storage resources allocated to a storage group associated with the application; and allocating to the application an amount of storage from each of at least one of the at least two physical storage devices based at least on device type and the determined performance objective.
 2. The method of claim 1, further comprising acts of: monitoring performance of the workload; and adjusting the performance objective based at least on part on the monitoring.
 3. The method of claim 1, further comprising acts of: monitoring performance of the workload; and iteratively performing the act of allocating based at least in part on the act of monitoring.
 4. The method of claim 1, wherein the system comprises a storage group comprising one or more virtual storage units, and wherein the storage group is associated with the application, and wherein the acts of associating a workload type with the application comprises associating the workload type with the storage group.
 5. The method of claim 1, wherein the workload type is based at least in part on one or more data services provided for the application as part of the workload.
 6. The method of claim 1, wherein the performance objective is a range of response time for I/O operations of the application on the storage system.
 7. The system of claim 1, further comprising: fourth logic to monitor performance of the workload; and fifth logic to adjust the performance objective based at least on part on the monitoring.
 8. A storage system, comprising: storage resources, wherein the storage resources comprise at least two physical storage devices of different types having different performance characteristics, and wherein an application imposes a workload on the storage system by utilizing the storage resources, and wherein a performance level has been associated with the application; first logic to associate a workload type with the application based on the type of workload, wherein the workload type includes storage system performance metrics and storage system data services associated with the application; second logic to determine a performance objective for the application based on a combination of the performance level and the workload type associated with the application; third logic to manipulate the storage resources to achieve on an ongoing basis the performance objective, wherein manipulate the storage resources includes dynamically allocating different types and amounts of physical storage resources allocated to a storage group associated with the application; and fourth logic to allocate to the application an amount of storage from each of at least one of the at least two physical storage devices based at least on device type and the determined performance objective.
 9. The system of claim 8, further comprising: fourth logic to monitor performance of the workload, wherein the third logic is operative to iteratively perform the allocation based at least in part on the monitoring.
 10. The system of claim 8, wherein the system comprises a storage group comprising one or more virtual storage units, and wherein the storage group is associated with the application, and wherein the first logic is operative to associate the workload type with the application comprises by associating the workload type with the storage group.
 11. The system of claim 8, wherein the workload type is based at least in part on one or more data services provided for the application as part of the workload.
 12. The system of claim 8, wherein the performance objective is a range of response time for I/O operations of the application on the storage system.
 13. A non-transitory computer-readable medium encoded with computer-executable instructions that, as a result of being executed by a computer, control the computer to perform, for a system including a storage system on which an application imposes a workload by utilizing storage resources of the storage system, wherein the storage resources comprise at least two physical storage devices of different types having different performance characteristics, and wherein a performance level has been associated with the application, a method comprising acts of: associating a workload type with the application based on the type of workload, wherein the workload type includes storage system performance metrics and storage system data services associated with the application; determining a performance objective for the application based on a combination of the performance level and the workload type associated with the application; manipulating the storage resources to achieve on an ongoing basis the performance objective, wherein manipulating the storage resources includes dynamically allocating different types and amounts of physical storage resources allocated to a storage group associated with the application; and allocating to the application an amount of storage from each of at least one of the at least two physical storage devices based at least on device type and the determined performance objective.
 14. The non-transitory computer-readable medium of claim 13, wherein the method further comprises acts of: monitoring performance of the workload; and adjusting the performance objective based at least on part on the monitoring.
 15. The non-transitory computer-readable medium of claim 13, wherein the method further comprises acts of: monitoring performance of the workload; and iteratively performing the act of allocating based at least in part on the act of monitoring.
 16. The non-transitory computer-readable medium of claim 13, wherein the system comprises a storage group comprising one or more virtual storage units, and wherein the storage group is associated with the application, and wherein the acts of associating a workload type with the application comprises associating the workload type with the storage group.
 17. The non-transitory computer-readable medium of claim 13, wherein the workload type is based at least in part on one or more data services provided for the application as part of the workload.
 18. The non-transitory computer readable medium of claim 13, wherein the performance objective is a range of response time for I/O operations of the application on the storage system. 